diff --git a/apps/WPS Office/credits b/apps/WPS Office/credits new file mode 100644 index 0000000..d79a4ad --- /dev/null +++ b/apps/WPS Office/credits @@ -0,0 +1,2 @@ +Botspot figured out how to instapp WPS Office on PiOS64. +Botspot submitted this app to Pi-Apps. diff --git a/apps/WPS Office/description b/apps/WPS Office/description new file mode 100644 index 0000000..d764363 --- /dev/null +++ b/apps/WPS Office/description @@ -0,0 +1,2 @@ +This is the Chinese version of Microsoft Office. +It is not open source, but works well on PiOS 64, and looks much more polished than Libreoffice or Openoffice. diff --git a/apps/WPS Office/icon-24.png b/apps/WPS Office/icon-24.png new file mode 100644 index 0000000..524e58c Binary files /dev/null and b/apps/WPS Office/icon-24.png differ diff --git a/apps/WPS Office/icon-64.png b/apps/WPS Office/icon-64.png new file mode 100644 index 0000000..d0de78d Binary files /dev/null and b/apps/WPS Office/icon-64.png differ diff --git a/apps/WPS Office/install-64 b/apps/WPS Office/install-64 new file mode 100755 index 0000000..bc72f9e --- /dev/null +++ b/apps/WPS Office/install-64 @@ -0,0 +1,20 @@ +#!/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 +} + +# Get dependencies +"${DIRECTORY}/pkg-install" "libglu1-mesa" "$(dirname "$0")" || exit 1 + +rm -f wps-office_11.1.0.9719_arm64.deb 2>/dev/null + +wget https://wdl1.cache.wps.cn/wps/download/ep/Linux2019/9719/wps-office_11.1.0.9719_arm64.deb || error "Failed to download wps office deb!" + +sudo apt install --fix-missing -y ~/wps-office_11.1.0.9719_arm64.deb || error "APT failed to install wps office." + +rm -f wps-office_11.1.0.9719_arm64.deb +exit 0 diff --git a/apps/WPS Office/uninstall b/apps/WPS Office/uninstall new file mode 100755 index 0000000..302bb3a --- /dev/null +++ b/apps/WPS Office/uninstall @@ -0,0 +1,13 @@ +#!/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 +} + +#if your app installs any packages, keep this command here so those packages will be removed. +"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1 + +sudo apt purge wps-office -y || error "APT failed to uninstall the wps-office package." diff --git a/apps/WPS Office/website b/apps/WPS Office/website new file mode 100644 index 0000000..e291287 --- /dev/null +++ b/apps/WPS Office/website @@ -0,0 +1 @@ +https://www.wps.com