Skip to content

Commit

Permalink
chore: Add macOS update manifest to alpha workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-cheff committed Jul 12, 2024
1 parent 882a6b8 commit 0b9832d
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ jobs:
mkdir -p updates
cp -a ../linux_update_manifest/. updates/
cp -a ../windows_update_manifest/. updates/
cp -a ../macos_update_manifest/. updates/
- uses: stefanzweifel/git-auto-commit-action@v4
with:
Expand Down
11 changes: 11 additions & 0 deletions src/build/application-ini-in.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff --git a/build/application.ini.in b/build/application.ini.in
index 6df13230a45b2a86356f4e5a7b189c46f53e44cc..47fc729cba7d9cb612bfa0297a24644925ab53af 100644
--- a/build/application.ini.in
+++ b/build/application.ini.in
@@ -52,5 +52,5 @@ ServerURL=@MOZ_CRASHREPORTER_URL@/submit?id=@MOZ_APP_ID@&version=@MOZ_APP_VERSIO

#if MOZ_UPDATER
[AppUpdate]
-URL=https://@MOZ_APPUPDATE_HOST@/update/6/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%SYSTEM_CAPABILITIES%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml
+URL=https://@MOZ_APPUPDATE_HOST@/updates/browser/%BUILD_TARGET%/%CHANNEL%/update.xml
#endif
13 changes: 13 additions & 0 deletions src/build/moz-build.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/build/moz.build b/build/moz.build
index 7bf9c501db06d38f924c26372d4243d448af8d81..6042ccfcbfb838ffefe078a72eee00a83fb252f6 100644
--- a/build/moz.build
+++ b/build/moz.build
@@ -91,7 +91,7 @@ if CONFIG["MOZ_APP_BASENAME"]:
if CONFIG[var]:
appini_defines[var] = True

- appini_defines["MOZ_APPUPDATE_HOST"] = "aus5.mozilla.org"
+ appini_defines["MOZ_APPUPDATE_HOST"] = "zen-updates.vercel.app"
if CONFIG["MOZ_APPUPDATE_HOST"]:
appini_defines["MOZ_APPUPDATE_HOST"] = CONFIG["MOZ_APPUPDATE_HOST"]

2 changes: 1 addition & 1 deletion surfer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"brandShortName": "Zen Browser",
"brandFullName": "Zen Browser",
"release": {
"displayVersion": "1.0.0-a.2",
"displayVersion": "1.0.0-a.1",
"github": {
"repo": "zen-browser/desktop"
},
Expand Down

0 comments on commit 0b9832d

Please sign in to comment.