mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
chore: Remove unused set-global-vars.sh script and update MOZ_APP_UA_NAME in moz-build.patch
This commit is contained in:
2
.github/workflows/src/alpha-build.sh
vendored
2
.github/workflows/src/alpha-build.sh
vendored
@@ -1,7 +1,5 @@
|
||||
set -ex
|
||||
|
||||
. ./.github/workflows/src/set-global-vars.sh
|
||||
|
||||
if command -v apt-get &> /dev/null
|
||||
then
|
||||
sudo apt-get update
|
||||
|
3
.github/workflows/src/set-global-vars.sh
vendored
3
.github/workflows/src/set-global-vars.sh
vendored
@@ -1,3 +0,0 @@
|
||||
|
||||
export MOZ_APP_UA_NAME="Firefox"
|
||||
export MOZ_APP_VENDOR="Zen Browser"
|
13
src/netwerk/protocol/http/moz-build.patch
Normal file
13
src/netwerk/protocol/http/moz-build.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/netwerk/protocol/http/moz.build b/netwerk/protocol/http/moz.build
|
||||
index 49d78020bc3f193d6ba7cf7bd81756f8393039dd..94c48ce0f6d59d4906c33f44c4a6ae44e11261ba 100644
|
||||
--- a/netwerk/protocol/http/moz.build
|
||||
+++ b/netwerk/protocol/http/moz.build
|
||||
@@ -206,7 +206,7 @@ LOCAL_INCLUDES += [
|
||||
"/netwerk/url-classifier",
|
||||
]
|
||||
|
||||
-DEFINES["MOZ_APP_UA_NAME"] = f'"{CONFIG["MOZ_APP_UA_NAME"]}"'
|
||||
+DEFINES["MOZ_APP_UA_NAME"] = f'"Firefox"'
|
||||
|
||||
if CONFIG["MOZ_AUTH_EXTENSION"]:
|
||||
LOCAL_INCLUDES += [
|
Reference in New Issue
Block a user