mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-07 17:05:33 +02:00
chore: Update package.json version to 1.2.3 and optimize platform flags
This commit is contained in:
parent
0150f260bf
commit
abcd9d1a80
5 changed files with 18 additions and 18 deletions
|
@ -353,7 +353,8 @@ function configureBrandingNsis(brandingNsis: string, brandingConfig: {
|
|||
}
|
||||
|
||||
function setUpdateURLs() {
|
||||
const baseURL = `URL=https://@MOZ_APPUPDATE_HOST@/updates/browser/%BUILD_TARGET%/%CHANNEL%/update.xml`;
|
||||
const sufix = compatMode ? '-compat' : '';
|
||||
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();
|
||||
const updatedAppIni = appIniContents.replace(/URL=.*update.xml/g, baseURL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue