fix: remove su -c

fix problem with disable sucompat
This commit is contained in:
KOWX712
2025-02-25 19:28:57 +08:00
parent 37d78b790e
commit fe76f01439
2 changed files with 5 additions and 2 deletions

View File

@@ -161,7 +161,7 @@ function setupUpdateMenu() {
try {
showPrompt("prompt.installing");
setTimeout(async () => {
await execCommand(`su -c 'sh ${basePath}common/get_extra.sh --install-update'`);
await execCommand(`sh ${basePath}common/get_extra.sh --install-update`);
showPrompt("prompt.installed");
installButton.style.display = "none";
rebootButton.style.display = "flex";