diff --git a/apps/Zen/credits b/apps/Zen/credits new file mode 100644 index 0000000000..729fb331bf --- /dev/null +++ b/apps/Zen/credits @@ -0,0 +1 @@ +Botspot diff --git a/apps/Zen/description b/apps/Zen/description new file mode 100644 index 0000000000..c5f7344839 --- /dev/null +++ b/apps/Zen/description @@ -0,0 +1,5 @@ +Privacy-focused browser based on Firefox +Zen Browser has side tabs by default and is very customizeable if you know a bit of CSS, or are willing to find someone else's mod files. It is said to run fast, and is competely open-source and takes design elements from Arc Browser. + +To run: Menu -> Internet -> Zen Browser +To run in a terminal: zen-browser diff --git a/apps/Zen/icon-24.png b/apps/Zen/icon-24.png new file mode 100644 index 0000000000..0ceed5129f Binary files /dev/null and b/apps/Zen/icon-24.png differ diff --git a/apps/Zen/icon-64.png b/apps/Zen/icon-64.png new file mode 100644 index 0000000000..91a8b7e0c4 Binary files /dev/null and b/apps/Zen/icon-64.png differ diff --git a/apps/Zen/install-64 b/apps/Zen/install-64 new file mode 100755 index 0000000000..59f7f583e3 --- /dev/null +++ b/apps/Zen/install-64 @@ -0,0 +1,46 @@ +#!/bin/bash + +#this script will need some updates once this browser is officially released on ARM64. +#monitor progress on: https://github.com/zen-browser/desktop/pull/3135 + +version='1.0.1-a.19' + +sudo rm -rf /opt/zen /opt/zen-browser /tmp/zen-browser-arm64-copr + +cd /tmp +wget https://github.com/ArchitektApx/zen-browser-arm64-copr/releases/download/${version}/zen.linux-generic.tar.bz2 || exit 1 + +status -n "Extracting... " +sudo tar xjf zen.linux-generic.tar.bz2 -C /opt || error "Failed to extract" +status_green Done + +rm -f zen.linux-generic.tar.bz2 + +sudo mv /opt/zen /opt/zen-browser + +git clone --depth 1 https://github.com/ArchitektApx/zen-browser-arm64-copr || exit 1 + +#fix app_id to get taskbar icon working on wayland +sed -i 's+exec /opt/zen-browser/zen-bin+exec /opt/zen-browser/zen-bin --class zen-browser --name zen-browser+g' zen-browser-arm64-copr/zen-browser || error "failed to edit launcher file" + +sudo mv -f zen-browser-arm64-copr/zen-browser /usr/bin/zen-browser || error "Failed to move zen-browser command" +sudo chmod +x /usr/bin/zen-browser + +#copy menu launcher +sudo mv -f zen-browser-arm64-copr/zen-browser.desktop /usr/share/applications || error "Failed to move menu launcher file" + +#disables update notifications +sudo mkdir -p /opt/zen-browser/distribution +sudo mv -f zen-browser-arm64-copr/policies.json /opt/zen-browser/distribution || error "Failed to move policies.json file" +#no need for the git repo anymore +rm -rf zen-browser-arm64-copr + +#copy icons +for i in 16x16 32x32 48x48 64x64 128x128; do + sudo mkdir -p /usr/share/icons/hicolor/$i/apps/ + sudo cp /opt/zen-browser/browser/chrome/icons/default/default${i/x*}.png /usr/share/icons/hicolor/$i/apps/zen-browser.png || error "Failed to copy $i icon" +done + +sudo update-icon-caches /usr/share/icons/* +sudo xdg-icon-resource forceupdate --mode system +true diff --git a/apps/Zen/uninstall b/apps/Zen/uninstall new file mode 100755 index 0000000000..c21786c5d2 --- /dev/null +++ b/apps/Zen/uninstall @@ -0,0 +1,7 @@ +#!/bin/bash + +sudo rm -rf /opt/zen-browser /usr/share/applications/zen-browser.desktop + +for i in 16x16 32x32 48x48 64x64 128x128; do + sudo rm -f /usr/share/icons/hicolor/$i/apps/zen-browser.png +done diff --git a/apps/Zen/website b/apps/Zen/website new file mode 100644 index 0000000000..755161fb51 --- /dev/null +++ b/apps/Zen/website @@ -0,0 +1 @@ +https://zen-browser.app/ diff --git a/etc/categories b/etc/categories index d25f93a489..e5a803006d 100644 --- a/etc/categories +++ b/etc/categories @@ -224,5 +224,6 @@ XMRig|Tools/Crypto XSnow|Appearance Xtreme Download Manager|Internet YouTubuddy|Multimedia +Zen|Internet/Browsers Zoom|Internet/Communication Zoom PWA|Internet/Communication