diff --git a/apps/Wine (x86)/description b/apps/Wine (x86)/description index a4b0c58..176ff66 100644 --- a/apps/Wine (x86)/description +++ b/apps/Wine (x86)/description @@ -1,7 +1,7 @@ Run x86 Windows apps with a box86-emulated version of x86 wine. To run: wine path/to/file.exe To configure wine: go to 'Wine configuration' in main menu or type in terminal: wine winecfg -Not all Windows applications will work under WINE. It's a good idea to check online if your program can run, or if WINE needs some setting changes to get it to work. +Not all Windows applications will work under Wine. It's a good idea to check online if your program can run, or if something can be tweaked to make it work. Note: the applications installed with wine will appear under the wine category in the main menu, and they will stay there even after uninstalling wine. diff --git a/apps/Wine (x86)/uninstall b/apps/Wine (x86)/uninstall index 213bd86..079142b 100755 --- a/apps/Wine (x86)/uninstall +++ b/apps/Wine (x86)/uninstall @@ -7,15 +7,17 @@ function error { exit 1 } -rm -rf ~/.wine -sudo rm -rf /usr/local/bin/wine -sudo rm /usr/local/bin/winecfg -sudo rm /usr/local/bin/wineserver -rm -rf ~/wine +#if your app installs any packages, keep this command here so those packages will be removed. +"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1 + +sudo rm -f /usr/local/bin/wine /usr/local/bin/winecfg /usr/local/bin/wineserver /usr/local/bin/wineboot +rm -rf ~/wine ~/.cache/winetricks ~/.cache/wine rm ~/.local/share/applications/wine-config.desktop || error 'Failed to remove winecfg menu shortcut!' rm ~/.local/share/applications/winetricks.desktop || error 'Failed to remove winetricks menu shortcut!' rm ~/.local/share/applications/wine-explorer.desktop || error 'Failed to remove wine desktop menu shortcut!' -#if your app installs any packages, keep this command here so those packages will be removed. -"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1 +echo -e "\e[93mYou just uninstalled the Wine app, but it's not completely gone yet. +To prevent accidental data loss, your Wine configuration is still located in the $HOME/.wine folder. Feel free to delete it to save space or to troubleshoot problems. + +Thanks for reading! -Botspot\e[39m"