chore: Update package.json version to 1.2.3 and optimize platform flags

This commit is contained in:
Mauro Balades 2024-08-01 21:43:36 +02:00
parent 0150f260bf
commit abcd9d1a80
5 changed files with 18 additions and 18 deletions

View file

@ -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);