From a72d06d692a38564cad6b72e95ce19adf7cdc855 Mon Sep 17 00:00:00 2001 From: Botspot Date: Tue, 13 Apr 2021 15:38:13 -0500 Subject: [PATCH] wacup fixes to close #573 --- apps/WACUP (new WinAmp)/install-32 | 2 +- apps/WACUP (new WinAmp)/uninstall | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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