Skip to content

Commit

Permalink
zen-browser: fix patch file
Browse files Browse the repository at this point in the history
  • Loading branch information
everyx committed Feb 8, 2025
1 parent 26d97a5 commit a6c7bd2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 49 deletions.
Original file line number Diff line number Diff line change
@@ -1,63 +1,24 @@
diff --git a/AppDir/zen.desktop b/AppDir/zen.desktop
index 9480304..af2aa4f 100644
--- a/AppDir/zen.desktop
+++ b/AppDir/zen.desktop
@@ -1,8 +1,8 @@
[Desktop Entry]
Name=Zen Browser
Comment=Experience tranquillity while browsing the web without people tracking you!
-Exec=zen %u
-Icon=zen
+Exec=/usr/lib/zen-browser/zen %u
+Icon=zen-browser
Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall;application/pdf;application/json;
StartupWMClass=zen
@@ -15,12 +15,12 @@ Actions=new-window;new-private-window;profilemanager;

[Desktop Action new-window]
Name=Open a New Window
-Exec=zen %u
+Exec=/usr/lib/zen-browser/zen %u

[Desktop Action new-private-window]
Name=Open a New Private Window
-Exec=zen --private-window %u
+Exec=/usr/lib/zen-browser/zen --private-window %u

[Desktop Action profilemanager]
Name=Open the Profile Manager
-Exec=zen --ProfileManager %u
+Exec=/usr/lib/zen-browser/zen --ProfileManager %u
diff --git a/scripts/download-language-packs.sh b/scripts/download-language-packs.sh
index 11f4725..f0e7455 100644
index 4363c6f..b3e824c 100644
--- a/scripts/download-language-packs.sh
+++ b/scripts/download-language-packs.sh
@@ -2,19 +2,19 @@ set -ex
@@ -2,19 +2,6 @@ set -ex

CURRENT_DIR=$(pwd)

-git config --global init.defaultBranch main
-git config --global fetch.prune true
+# git config --global init.defaultBranch main
+# git config --global fetch.prune true

cd $CURRENT_DIR

LAST_FIREFOX_L10N_COMMIT=$(cat ./firefox-cache/l10n-last-commit-hash)

-
-cd $CURRENT_DIR
-
-LAST_FIREFOX_L10N_COMMIT=$(cat ./firefox-cache/l10n-last-commit-hash)
-
-cd ./l10n
-rm -rf firefox-l10n
-# clone only from LAST_FIREFOX_L10N_COMMIT
-git clone https://github.com/mozilla-l10n/firefox-l10n
-cd firefox-l10n
-git checkout $LAST_FIREFOX_L10N_COMMIT
-cd $CURRENT_DIR
+# cd ./l10n
+# # clone only from LAST_FIREFOX_L10N_COMMIT
+# git clone https://github.com/mozilla-l10n/firefox-l10n
+# cd firefox-l10n
+# git checkout $LAST_FIREFOX_L10N_COMMIT
+# cd $CURRENT_DIR
cd $CURRENT_DIR

update_language() {
langId=$1
2 changes: 1 addition & 1 deletion archlinuxcn/zen-browser/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ sha256sums=('26349a4a627a5b997fa1a4981669f9e76acad932f0f9e1bd580d97962604f8dc'
'SKIP'
'6c6eb7ff13fa689c5cace23a28533361d1ca29158329b6f1c2f2d1c91c53dd27'
'11f920c7969bd01caa3b74b3742e6746bef99c37cb22026749c634f1876b5070'
'a508b9ac4e942c12427b5eb553fa3bdc01eb825cbeecdb15e29e0db86acc890b'
'8479077f2aca6cc93333254469b2d257ee9d2d59f3d674944a26aafb402e37f4'
'36bff2af04da55da0cc71f960d921889ccf21c11fcd8343087c144dfcc50f10a'
'803c3f456abfc1acd963b594cf684aed2453534e7ab951abc38efa0351b648a1')
noextract=("firefox-${_firefox_version}.source.tar.xz")
Expand Down

0 comments on commit a6c7bd2

Please sign in to comment.