fix: update platform check for MacOS in mozconfig.ts

This commit is contained in:
mr. M 2025-03-31 00:18:28 +02:00
parent f93a23b035
commit 47924ece7b
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@zen-browser/surfer",
"version": "1.11.1",
"version": "1.11.2",
"description": "Simplifying building firefox forks!",
"main": "index.js",
"bin": {

View file

@ -54,7 +54,7 @@ export ZEN_FIREFOX_VERSION=${getFFVersionOrCandidate()}
export MOZ_APPUPDATE_HOST=${
config.updateHostname || 'localhost:7648 # This should not resolve'
}
` + process.platform === 'macos' ? `
` + (process as any).surferPlatform === 'darwin' ? `
# MacOS specific settings
export MOZ_MACBUNDLE_NAME="${getCurrentBrandName()}.app"