mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-10 02:05:31 +02:00
Update browser.ts
This commit is contained in:
parent
0da0c72ea3
commit
d79f8d9318
1 changed files with 8 additions and 8 deletions
|
@ -147,14 +147,6 @@ async function writeUpdateFileToDisk(
|
|||
suffix = '-aarch64';
|
||||
}
|
||||
}
|
||||
if ((process as any).surferPlatform == 'linux') {
|
||||
if (compatMode == 'x86_64') {
|
||||
suffix = '-generic';
|
||||
}
|
||||
else if (compatMode == 'aarch64') {
|
||||
suffix = '';
|
||||
}
|
||||
}
|
||||
if ((process as any).surferPlatform == 'linux') {
|
||||
if (compatMode == 'x86_64') {
|
||||
suffix = '-generic';
|
||||
|
@ -166,6 +158,14 @@ async function writeUpdateFileToDisk(
|
|||
suffix = '-aarch64';
|
||||
}
|
||||
}
|
||||
if ((process as any).surferPlatform == 'darwin') {
|
||||
if (compatMode == 'x86_64') {
|
||||
suffix = '-generic';
|
||||
}
|
||||
else if (compatMode == 'aarch64') {
|
||||
suffix = '';
|
||||
}
|
||||
}
|
||||
const xmlPath = join(
|
||||
DIST_DIR,
|
||||
'update',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue