Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
Shell
1234567891011121314#!/bin/bashset -e# Root can create user namespaces on Ubuntu even when desktop users cannot.# Install the Chromium helper with its standard root-owned sandbox permissions.chown root:root '/opt/${sanitizedProductName}/chrome-sandbox'chmod 4755 '/opt/${sanitizedProductName}/chrome-sandbox'if command -v update-alternatives >/dev/null 2>&1; then update-alternatives --install '/usr/bin/${executable}' '${executable}' '/opt/${sanitizedProductName}/${executable}' 100else ln -sf '/opt/${sanitizedProductName}/${executable}' '/usr/bin/${executable}'ficommand -v update-mime-database >/dev/null 2>&1 && update-mime-database /usr/share/mime || truecommand -v update-desktop-database >/dev/null 2>&1 && update-desktop-database /usr/share/applications || true