Add Lightpad app

pull/198/head
Botspot 5 years ago
parent 4f66995c69
commit 2bf7c2e2dc

@ -0,0 +1,2 @@
Installation Script Made By RPICoder
App Added To Pi-Apps by RPICoder

@ -0,0 +1,3 @@
LightPad is a lightweight, simple and powerful application launcher.
To run: Menu -> Accessories -> Lightpad
To run in a terminal: com.github.libredeb.lightpad

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

@ -0,0 +1,26 @@
#!/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
}
sudo wget https://github.com/libredeb/lightpad/releases/download/v0.0.8/lightpad_0.0.8.rev1_armhf.deb -P ~/ || error "Failed to download lightpad_0.0.8.rev1_armhf.deb!"
sudo apt install -y --fix-missing ~/lightpad_0.0.8.rev1_armhf.deb || error "APT failed to install lightpad_0.0.8.rev1_armhf.deb!"
rm -f ~/lightpad_0.0.8.rev1_armhf.deb
echo "[Desktop Entry]
Version=1.0
Type=Application
Name=Lightpad
Icon=lightpad
Exec=com.github.libredeb.lightpad
Comment=LightPad is a lightweight, simple and powerful application launcher
Categories=Accessories;Utility;
Terminal=false" > ~/.local/share/applications/lightpad.desktop

@ -0,0 +1,14 @@
#!/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
}
sudo apt -y purge lightpad || error "Failed to uninstall lightpad"
sudo apt -y autoremove
rm -f ~/.local/share/applications/lightpad.desktop

@ -0,0 +1 @@
https://github.com/libredeb/lightpad
Loading…
Cancel
Save