mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-07 17:05:33 +02:00
bump version to 1.6.1 and refactor platform compatibility handling in update logic
This commit is contained in:
parent
4e9b9d3880
commit
c49501d8fe
3 changed files with 13 additions and 47 deletions
|
@ -427,31 +427,16 @@ function setUpdateURLs() {
|
|||
if (compatMode == 'x86_64') {
|
||||
suffix = '-generic';
|
||||
}
|
||||
else if (compatMode == 'x86_64-v3') {
|
||||
suffix = '';
|
||||
}
|
||||
else if (compatMode == 'aarch64') {
|
||||
suffix = '-aarch64';
|
||||
}
|
||||
}
|
||||
if ((process as any).surferPlatform == 'darwin') {
|
||||
if (compatMode == 'x86_64') {
|
||||
suffix = '-generic';
|
||||
}
|
||||
else if (compatMode == 'aarch64') {
|
||||
suffix = '';
|
||||
}
|
||||
}
|
||||
if ((process as any).surferPlatform == 'linux') {
|
||||
if (compatMode == 'x86_64') {
|
||||
suffix = '-generic';
|
||||
}
|
||||
else if (compatMode == 'x86_64-v3') {
|
||||
suffix = '';
|
||||
}
|
||||
else if (compatMode == 'aarch64') {
|
||||
suffix = '-aarch64';
|
||||
}
|
||||
}
|
||||
const baseURL = `URL=https://@MOZ_APPUPDATE_HOST@/updates/browser/%BUILD_TARGET%/%CHANNEL%${suffix}/update.xml`
|
||||
const appIni = join(ENGINE_DIR, 'build', 'application.ini.in')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue