diff --git a/apps/WACUP (new WinAmp)/credits b/apps/WACUP (new WinAmp)/credits new file mode 100644 index 0000000..560f0c7 --- /dev/null +++ b/apps/WACUP (new WinAmp)/credits @@ -0,0 +1 @@ +Botspot for the scripts, ralf1307 on github issue #192 for the suggestion. diff --git a/apps/WACUP (new WinAmp)/description b/apps/WACUP (new WinAmp)/description new file mode 100644 index 0000000..beda7b4 --- /dev/null +++ b/apps/WACUP (new WinAmp)/description @@ -0,0 +1 @@ +Cross-platform audio player - emulated Windows app diff --git a/apps/WACUP (new WinAmp)/icon-24.png b/apps/WACUP (new WinAmp)/icon-24.png new file mode 100644 index 0000000..360d8fb Binary files /dev/null and b/apps/WACUP (new WinAmp)/icon-24.png differ diff --git a/apps/WACUP (new WinAmp)/icon-64.png b/apps/WACUP (new WinAmp)/icon-64.png new file mode 100644 index 0000000..36b2f51 Binary files /dev/null and b/apps/WACUP (new WinAmp)/icon-64.png differ diff --git a/apps/WACUP (new WinAmp)/install b/apps/WACUP (new WinAmp)/install new file mode 100755 index 0000000..3837c98 --- /dev/null +++ b/apps/WACUP (new WinAmp)/install @@ -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 diff --git a/apps/WACUP (new WinAmp)/install-32 b/apps/WACUP (new WinAmp)/install-32 new file mode 100755 index 0000000..193da37 --- /dev/null +++ b/apps/WACUP (new WinAmp)/install-32 @@ -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!" diff --git a/apps/WACUP (new WinAmp)/uninstall b/apps/WACUP (new WinAmp)/uninstall new file mode 100755 index 0000000..ef220ff --- /dev/null +++ b/apps/WACUP (new WinAmp)/uninstall @@ -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' diff --git a/apps/WACUP (new WinAmp)/website b/apps/WACUP (new WinAmp)/website new file mode 100644 index 0000000..ace39bd --- /dev/null +++ b/apps/WACUP (new WinAmp)/website @@ -0,0 +1 @@ +https://getwacup.com/