mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-08 09:20:01 +02:00
chore: Update package.json version to 1.2.4 and optimize platform flags
This commit is contained in:
parent
abcd9d1a80
commit
2c6ebed566
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@zen-browser/surfer",
|
||||
"version": "1.2.3",
|
||||
"version": "1.2.4",
|
||||
"description": "Simplifying building firefox forks!",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
|
|
|
@ -353,7 +353,8 @@ function configureBrandingNsis(brandingNsis: string, brandingConfig: {
|
|||
}
|
||||
|
||||
function setUpdateURLs() {
|
||||
const sufix = compatMode ? '-compat' : '';
|
||||
const sufix = (compatMode && (process as any).surferPlatform !== 'macos')
|
||||
? '-generic' : '';
|
||||
const baseURL = `URL=https://@MOZ_APPUPDATE_HOST@/updates/browser/%BUILD_TARGET%/%CHANNEL%${sufix}/update.xml`;
|
||||
const appIni = join(ENGINE_DIR, 'build', 'application.ini.in');
|
||||
const appIniContents = readFileSync(appIni).toString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue