Skip to content

Commit

Permalink
Add Zen Browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Botspot committed Nov 26, 2024
1 parent 69eb6a0 commit 63d3025
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/Zen/credits
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Botspot
5 changes: 5 additions & 0 deletions apps/Zen/description
Original file line number Diff line number Diff line change
@@ -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
Binary file added apps/Zen/icon-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/Zen/icon-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions apps/Zen/install-64
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions apps/Zen/uninstall
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions apps/Zen/website
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://zen-browser.app/
1 change: 1 addition & 0 deletions etc/categories
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 63d3025

Please sign in to comment.