Add WPS Office app

pull/129/head
Botspot 4 years ago
parent 157e1ba1cc
commit 004f9ca533

@ -0,0 +1,2 @@
Botspot figured out how to instapp WPS Office on PiOS64.
Botspot submitted this app to Pi-Apps.

@ -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.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@ -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

@ -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."

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