mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-07 17:05:33 +02:00
bump version to 1.9.12 and simplify macOS release naming and update URL handling
Some checks are pending
CI / general (push) Waiting to run
Some checks are pending
CI / general (push) Waiting to run
This commit is contained in:
parent
89b2c3927a
commit
e91d11b419
4 changed files with 92 additions and 120 deletions
|
@ -422,13 +422,7 @@ pref("devtools.selfxss.count", 5);
|
|||
}
|
||||
|
||||
function setUpdateURLs() {
|
||||
let suffix = '';
|
||||
if ((process as any).surferPlatform == 'darwin') {
|
||||
if (compatMode == 'x86_64') {
|
||||
suffix = '-generic';
|
||||
}
|
||||
}
|
||||
const baseURL = `URL=https://@MOZ_APPUPDATE_HOST@/updates/browser/%BUILD_TARGET%/%CHANNEL%${suffix}/update.xml`
|
||||
const baseURL = `URL=https://@MOZ_APPUPDATE_HOST@/updates/browser/%BUILD_TARGET%/%CHANNEL%/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