diff --git a/apps/Lightpad/credits b/apps/Lightpad/credits new file mode 100644 index 0000000..e0c970b --- /dev/null +++ b/apps/Lightpad/credits @@ -0,0 +1,2 @@ +Installation Script Made By RPICoder +App Added To Pi-Apps by RPICoder \ No newline at end of file diff --git a/apps/Lightpad/description b/apps/Lightpad/description new file mode 100644 index 0000000..ce034b6 --- /dev/null +++ b/apps/Lightpad/description @@ -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 diff --git a/apps/Lightpad/icon-24.png b/apps/Lightpad/icon-24.png new file mode 100644 index 0000000..746e374 Binary files /dev/null and b/apps/Lightpad/icon-24.png differ diff --git a/apps/Lightpad/icon-64.png b/apps/Lightpad/icon-64.png new file mode 100644 index 0000000..33288f8 Binary files /dev/null and b/apps/Lightpad/icon-64.png differ diff --git a/apps/Lightpad/install-32 b/apps/Lightpad/install-32 new file mode 100755 index 0000000..8cd5fd1 --- /dev/null +++ b/apps/Lightpad/install-32 @@ -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 + + diff --git a/apps/Lightpad/uninstall b/apps/Lightpad/uninstall new file mode 100755 index 0000000..216d413 --- /dev/null +++ b/apps/Lightpad/uninstall @@ -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 + diff --git a/apps/Lightpad/website b/apps/Lightpad/website new file mode 100644 index 0000000..e3c9753 --- /dev/null +++ b/apps/Lightpad/website @@ -0,0 +1 @@ +https://github.com/libredeb/lightpad