wacup install wine the elegant way and delete exe

pull/574/head
Botspot 4 years ago
parent 59c2453677
commit 9deeca9938

@ -7,10 +7,11 @@ function error {
exit 1
}
[ "$(cat "${DIRECTORY}/data/status/Wine (x86)")" != 'installed' ] && ("${DIRECTORY}/manage" install 'Wine (x86)' || error "Exiting now, as Wine failed to install.")
"${DIRECTORY}/manage" install-if-not-installed 'Wine (x86)' || error "Exiting now, as Wine failed to install."
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

Loading…
Cancel
Save