Add StackEdit app

pull/337/head
Botspot 3 years ago
parent 8345f46c6c
commit e2bfd67239

@ -0,0 +1,3 @@
Added to pi-apps by Itai-Nelken.
webapps compiled by Itai-Nelken using nativefier.
nativefier by jiahaog.

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

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

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

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

@ -0,0 +1 @@
https://stackedit.io/
Loading…
Cancel
Save