You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
fix update issue
This commit is contained in:
@@ -89,7 +89,7 @@ function setupUpdateMenu() {
|
|||||||
try {
|
try {
|
||||||
showPrompt("prompt.installing");
|
showPrompt("prompt.installing");
|
||||||
setTimeout(async () => {
|
setTimeout(async () => {
|
||||||
await execCommand(`sh ${basePath}common/get_extra.sh --install-update`);
|
await execCommand(`su -c 'sh ${basePath}common/get_extra.sh --install-update'`);
|
||||||
showPrompt("prompt.installed");
|
showPrompt("prompt.installed");
|
||||||
installButton.style.display = "none";
|
installButton.style.display = "none";
|
||||||
rebootButton.style.display = "flex";
|
rebootButton.style.display = "flex";
|
||||||
|
|||||||
Reference in New Issue
Block a user