diff --git a/apps/WACUP (new WinAmp)/install-32 b/apps/WACUP (new WinAmp)/install-32 index ba03a5b..6169e70 100755 --- a/apps/WACUP (new WinAmp)/install-32 +++ b/apps/WACUP (new WinAmp)/install-32 @@ -13,5 +13,5 @@ rm -f ~/wacup.exe wget -O ~/wacup.exe 'https://getwacup.com/preview/WACUP_Preview_v1_0_21_7236.exe' || error "Failed to download wacup.exe!" wine ~/wacup.exe || error "Wine failed to run wacup.exe!" -rm -f ~/wacup.exe +rm -f ~/wacup.exe ~/Desktop/WACUP.lnk diff --git a/apps/WACUP (new WinAmp)/uninstall b/apps/WACUP (new WinAmp)/uninstall index 25dae00..c1a41a1 100755 --- a/apps/WACUP (new WinAmp)/uninstall +++ b/apps/WACUP (new WinAmp)/uninstall @@ -10,3 +10,7 @@ function error { echo -e "\e[30m\e[107mClick Yes to uninstall WACUP\e[0m" BOX86_NOBANNER=1 wine ~/'.wine/drive_c/Program Files/WACUP/UninstWACUP.exe' + +while ps aux | grep -v grep | grep wine | grep -q 'WACUP' ;do + sleep 1 +done