Add WACUP app

pull/491/head
Botspot 5 years ago
parent 8b169af58c
commit 5edd9ee7c7

@ -0,0 +1 @@
Botspot for the scripts, ralf1307 on github issue #192 for the suggestion.

@ -0,0 +1 @@
Cross-platform audio player - emulated Windows app

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

@ -0,0 +1,17 @@
#!/bin/bash
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
function error {
echo -e "\\e[91m$1\\e[39m"
exit 1
}
#use the error function often!
#If a certain command is necessary for installation to continue, then add this to the end of it:
# || error 'reason'
#example below:
git clone https://example.com || error 'Failed to clone example.com repository!'
# Get dependencies
"${DIRECTORY}/pkg-install" "package1 package2 package3" "$(dirname "$0")" || exit 1

@ -0,0 +1,16 @@
#!/bin/bash
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
function error {
echo -e "\\e[91m$1\\e[39m"
exit 1
}
[ "$(cat "${DIRECTORY}/data/status/Wine (x86)")" != 'installed' ] && ("${DIRECTORY}/manage" install '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_18_6840.exe' || error "Failed to download wacup.exe!"
wine ~/wacup.exe || error "Wine failed to run wacup.exe!"

@ -0,0 +1,12 @@
#!/bin/bash
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
function error {
echo -e "\\e[91m$1\\e[39m"
exit 1
}
echo -e "\e[30m\e[107mClick Yes to uninstall WACUP\e[0m"
BOX86_NOBANNER=1 wine '/home/pi/.wine/drive_c/Program Files/WACUP/UninstWACUP.exe'

@ -0,0 +1 @@
https://getwacup.com/
Loading…
Cancel
Save