diff --git a/apps/StackEdit/credits b/apps/StackEdit/credits new file mode 100644 index 0000000..85b8001 --- /dev/null +++ b/apps/StackEdit/credits @@ -0,0 +1,3 @@ +Added to pi-apps by Itai-Nelken. +webapps compiled by Itai-Nelken using nativefier. +nativefier by jiahaog. diff --git a/apps/StackEdit/description b/apps/StackEdit/description new file mode 100644 index 0000000..c88d6fe --- /dev/null +++ b/apps/StackEdit/description @@ -0,0 +1,5 @@ +Full-featured, open-source Markdown editor. +StackEdit uses the same markdown library as Stack Overflow and is fully compatible with Github README.md files as well. +This is Botspot's preferred tool to write the README for all his repositories. +To run: Menu -> Programming -> StackEdit +To run in a terminal: ~/stackedit/StackEdit diff --git a/apps/StackEdit/icon-24.png b/apps/StackEdit/icon-24.png new file mode 100644 index 0000000..e06059a Binary files /dev/null and b/apps/StackEdit/icon-24.png differ diff --git a/apps/StackEdit/icon-64.png b/apps/StackEdit/icon-64.png new file mode 100644 index 0000000..38e2234 Binary files /dev/null and b/apps/StackEdit/icon-64.png differ diff --git a/apps/StackEdit/install-32 b/apps/StackEdit/install-32 new file mode 100755 index 0000000..393a2f9 --- /dev/null +++ b/apps/StackEdit/install-32 @@ -0,0 +1,27 @@ +#!/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 +} + +cd $HOME +echo "Downloading..." +wget https://github.com/Itai-Nelken/Nativefier-WebApps/releases/download/v1.0/StackEdit-linux-armv7l.tar.xz || error 'Failed to Download!' +echo "extracting..." +tar -xf StackEdit-linux-armv7l.tar.xz || error "Failed to extract!" +echo "Renaming folder..." +mv ~/StackEdit-linux-armv7l ~/stackedit || error "Failed to rename folder!" +echo "Creating menu shortcut..." +echo "[Desktop Entry] +StartupNotify=true +Terminal=false +Type=Application +Name=StackEdit +Exec="$HOME/stackedit/StackEdit" +Path="$HOME/stackedit" +Icon="$HOME/pi-apps/apps/StackEdit/icon-64.png" +Categories=Development;IDE;" > ~/.local/share/applications/stackedit.desktop || error "Failed to create menu shortcut!" +rm -f StackEdit-linux-armv7l.tar.xz diff --git a/apps/StackEdit/install-64 b/apps/StackEdit/install-64 new file mode 100755 index 0000000..ec2a3a7 --- /dev/null +++ b/apps/StackEdit/install-64 @@ -0,0 +1,27 @@ +#!/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 +} + +cd $HOME +echo "Downloading..." +wget https://github.com/Itai-Nelken/Nativefier-WebApps/releases/download/v1.0/StackEdit-linux-arm64.tar.xz || error 'Failed to Download!' +echo "extracting..." +tar -xf StackEdit-linux-arm64.tar.xz || error "Failed to extract!" +echo "Renaming folder..." +mv ~/StackEdit-linux-arm64 ~/stackedit || error "Failed to rename folder!" +echo "Creating menu shortcut..." +echo "[Desktop Entry] +StartupNotify=true +Terminal=false +Type=Application +Name=StackEdit +Exec="$HOME/stackedit/StackEdit" +Path="$HOME/stackedit" +Icon="$HOME/pi-apps/apps/StackEdit/icon-64.png" +Categories=Development;IDE;" > ~/.local/share/applications/stackedit.desktop || error "Failed to create menu shortcut!" +rm -f StackEdit-linux-arm64.tar.xz diff --git a/apps/StackEdit/uninstall b/apps/StackEdit/uninstall new file mode 100755 index 0000000..4288be7 --- /dev/null +++ b/apps/StackEdit/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 +} + +echo "removing ~/stackedit..." +rm -rf ~/stackedit || error "Failed to remove ~/stackedit!" +echo "removing menu shortcut..." +rm -f ~/.local/share/applications/stackedit.desktop || error "Failed to remove menu shortcut!" +echo "DONE!" diff --git a/apps/StackEdit/website b/apps/StackEdit/website new file mode 100644 index 0000000..295cc55 --- /dev/null +++ b/apps/StackEdit/website @@ -0,0 +1 @@ +https://stackedit.io/