-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change over nativefier apps to webapps
resolves #2321
- Loading branch information
1 parent
cb5cb4c
commit 9b66a25
Showing
18 changed files
with
88 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
@ryanfortner (GitHub) | ||
theofficialgman |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
"${DIRECTORY}/manage" install-if-not-installed 'Chromium' || error "Chromium is required but it failed to install!" | ||
|
||
sudo mkdir -p /usr/local/bin /usr/local/share/applications /usr/local/share/icons/hicolor/64x64/apps/ /usr/local/share/icons/hicolor/24x24/apps/ || error "Could not create required directories!" | ||
echo "Creating launcher and menu button..." | ||
echo '#!/bin/bash | ||
chromium-browser --user-data-dir="$HOME/.config/webapps/snapdrop" --app=https://snapdrop.net/' | sudo tee /usr/local/bin/snapdrop >/dev/null || error "Failed to create snapdrop launcher!" | ||
|
||
sudo chmod +x /usr/local/bin/snapdrop || error "Failed to set snapdrop launcher permissions!" | ||
|
||
sudo cp "$(dirname "$0")/icon-64.png" /usr/local/share/icons/hicolor/64x64/apps/snapdrop.png || error "Failed to install snapdrop icon!" | ||
sudo cp "$(dirname "$0")/icon-24.png" /usr/local/share/icons/hicolor/24x24/apps/snapdrop.png || error "Failed to install snapdrop icon!" | ||
|
||
echo "[Desktop Entry] | ||
Name=Snapdrop | ||
GenericName=Local File Sharing | ||
Comment=Local file sharing in your browser. Inspired by Apple's Airdrop. | ||
Exec=/usr/local/bin/snapdrop | ||
Icon=snapdrop | ||
Terminal=false | ||
StartupNotify=true | ||
Type=Application | ||
Categories=Utility" | sudo tee /usr/local/share/applications/snapdrop.desktop >/dev/null || error "Failed to create menu shortcut!" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/bin/bash | ||
|
||
purge_packages || exit 1 | ||
sudo rm -f /usr/local/share/applications/snapdrop.desktop /usr/local/share/icons/hicolor/64x64/apps/snapdrop.png /usr/local/share/icons/hicolor/24x24/apps/snapdrop.png /usr/local/bin/snapdrop | ||
purge_packages || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
Added to pi-apps by Itai-Nelken. | ||
webapps compiled by Itai-Nelken using nativefier. | ||
nativefier by jiahaog. | ||
theofficialgman |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
"${DIRECTORY}/manage" install-if-not-installed 'Chromium' || error "Chromium is required but it failed to install!" | ||
|
||
sudo mkdir -p /usr/local/bin /usr/local/share/applications /usr/local/share/icons/hicolor/64x64/apps/ /usr/local/share/icons/hicolor/24x24/apps/ || error "Could not create required directories!" | ||
echo "Creating launcher and menu button..." | ||
echo '#!/bin/bash | ||
chromium-browser --user-data-dir="$HOME/.config/webapps/stackedit" --app=https://stackedit.io/app#' | sudo tee /usr/local/bin/stackedit >/dev/null || error "Failed to create stackedit launcher!" | ||
|
||
sudo chmod +x /usr/local/bin/stackedit || error "Failed to set stackedit launcher permissions!" | ||
|
||
sudo cp "$(dirname "$0")/icon-64.png" /usr/local/share/icons/hicolor/64x64/apps/stackedit.png || error "Failed to install stackedit icon!" | ||
sudo cp "$(dirname "$0")/icon-24.png" /usr/local/share/icons/hicolor/24x24/apps/stackedit.png || error "Failed to install stackedit icon!" | ||
|
||
echo "[Desktop Entry] | ||
Name=StackEdit | ||
GenericName=Markdown editor | ||
Comment=A chromium webapp for the stackedit markdown editor | ||
Exec=/usr/local/bin/stackedit | ||
Icon=stackedit | ||
Terminal=false | ||
StartupNotify=true | ||
Type=Application | ||
Categories=Development;IDE;" | sudo tee /usr/local/share/applications/stackedit.desktop >/dev/null || error "Failed to create menu shortcut!" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
#!/bin/bash | ||
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!" | ||
|
||
sudo rm -f /usr/local/share/applications/stackedit.desktop /usr/local/share/icons/hicolor/64x64/apps/stackedit.png /usr/local/share/icons/hicolor/24x24/apps/stackedit.png /usr/local/bin/stackedit | ||
purge_packages || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
Apps compiled using Nativefier and DEB packages hosted by cycool29 | ||
Nativefier made by jiahaog. | ||
Thanks to Botspot for help with debugging the menu shortcut and for creating pi-apps! | ||
theofficialgman |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
Nativefier Whatsapp Web webapp | ||
Whatsapp Web webapp | ||
|
||
A simple Whatsapp Web chromium webapp wrapped in electron with nativefier. | ||
it has a tray icon, so it doesn't take space on the taskbar, but keeps running in the background. | ||
A simple Whatsapp Web chromium webapp. | ||
|
||
To run: Menu -> Internet -> Whatsapp Web | ||
To run in a terminal: /opt/WhatsApp/WhatsApp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
"${DIRECTORY}/manage" install-if-not-installed 'Chromium' || error "Chromium is required but it failed to install!" | ||
|
||
sudo mkdir -p /usr/local/bin /usr/local/share/applications /usr/local/share/icons/hicolor/64x64/apps/ /usr/local/share/icons/hicolor/24x24/apps/ || error "Could not create required directories!" | ||
echo "Creating launcher and menu button..." | ||
echo '#!/bin/bash | ||
chromium-browser --user-data-dir="$HOME/.config/webapps/WhatsApp" --app=https://web.whatsapp.com' | sudo tee /usr/local/bin/whatsapp >/dev/null || error "Failed to create whatsapp launcher!" | ||
|
||
sudo chmod +x /usr/local/bin/whatsapp || error "Failed to set whatsapp launcher permissions!" | ||
|
||
sudo cp "$(dirname "$0")/icon-64.png" /usr/local/share/icons/hicolor/64x64/apps/whatsapp.png || error "Failed to install whatsapp icon!" | ||
sudo cp "$(dirname "$0")/icon-24.png" /usr/local/share/icons/hicolor/24x24/apps/whatsapp.png || error "Failed to install whatsapp icon!" | ||
|
||
echo "[Desktop Entry] | ||
Name=WhatsApp | ||
GenericName=Online Messaging | ||
Comment=A chromium webapp for the WhatsApp messaging service | ||
Exec=/usr/local/bin/whatsapp | ||
Icon=whatsapp | ||
Type=Application | ||
StartupNotify=false | ||
StartupWMClass=WhatsApp | ||
Categories=Internet;Chat;Network | ||
Keywords=whatsapp;" | sudo tee /usr/local/share/applications/whatsapp.desktop >/dev/null || error "Failed to create menu shortcut!" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/bin/bash | ||
|
||
sudo rm -f /usr/local/share/applications/whatsapp.desktop /usr/local/share/icons/hicolor/64x64/apps/whatsapp.png /usr/local/share/icons/hicolor/24x24/apps/whatsapp.png /usr/local/bin/whatsapp | ||
purge_packages || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters