mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-08 09:20:01 +02:00
Removed optimized builds and made generics the default ones
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
ecd6b650f0
commit
7c9ed09733
4 changed files with 3 additions and 29 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@zen-browser/surfer",
|
||||
"version": "1.4.9",
|
||||
"version": "1.6.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@zen-browser/surfer",
|
||||
"version": "1.4.9",
|
||||
"version": "1.6.4",
|
||||
"license": "MPL-2.0",
|
||||
"dependencies": {
|
||||
"@resvg/resvg-js": "^1.4.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@zen-browser/surfer",
|
||||
"version": "1.6.4",
|
||||
"version": "1.7.0",
|
||||
"description": "Simplifying building firefox forks!",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
|
|
|
@ -423,21 +423,11 @@ pref("devtools.selfxss.count", 5);
|
|||
|
||||
function setUpdateURLs() {
|
||||
let suffix = '';
|
||||
if ((process as any).surferPlatform == 'win32') {
|
||||
if (compatMode == 'x86_64') {
|
||||
suffix = '-generic';
|
||||
}
|
||||
}
|
||||
if ((process as any).surferPlatform == 'darwin') {
|
||||
if (compatMode == 'x86_64') {
|
||||
suffix = '-generic';
|
||||
}
|
||||
}
|
||||
if ((process as any).surferPlatform == 'linux') {
|
||||
if (compatMode == 'x86_64') {
|
||||
suffix = '-generic';
|
||||
}
|
||||
}
|
||||
const baseURL = `URL=https://@MOZ_APPUPDATE_HOST@/updates/browser/%BUILD_TARGET%/%CHANNEL%${suffix}/update.xml`
|
||||
const appIni = join(ENGINE_DIR, 'build', 'application.ini.in')
|
||||
const appIniContents = readFileSync(appIni).toString()
|
||||
|
|
|
@ -51,9 +51,6 @@ function getReleaseMarName(releaseInfo: ReleaseInfo): string | undefined {
|
|||
let releaseMarName;
|
||||
if ((process as any).surferPlatform == 'win32') {
|
||||
if (compatMode == 'x86_64') {
|
||||
releaseMarName = 'windows-generic.mar'
|
||||
}
|
||||
else if (compatMode == 'x86_64-v3') {
|
||||
releaseMarName = 'windows.mar'
|
||||
}
|
||||
else if (compatMode == 'aarch64') {
|
||||
|
@ -70,9 +67,6 @@ function getReleaseMarName(releaseInfo: ReleaseInfo): string | undefined {
|
|||
}
|
||||
if ((process as any).surferPlatform == 'linux') {
|
||||
if (compatMode == 'x86_64') {
|
||||
releaseMarName = 'linux-generic.mar'
|
||||
}
|
||||
else if (compatMode == 'x86_64-v3') {
|
||||
releaseMarName = 'linux.mar'
|
||||
}
|
||||
else if (compatMode == 'aarch64') {
|
||||
|
@ -121,16 +115,6 @@ async function writeUpdateFileToDisk(
|
|||
}
|
||||
) {
|
||||
let suffix = '';
|
||||
if ((process as any).surferPlatform == 'win32') {
|
||||
if (compatMode == 'x86_64') {
|
||||
suffix = '-generic';
|
||||
}
|
||||
}
|
||||
if ((process as any).surferPlatform == 'linux') {
|
||||
if (compatMode == 'x86_64') {
|
||||
suffix = '-generic';
|
||||
}
|
||||
}
|
||||
if ((process as any).surferPlatform == 'darwin') {
|
||||
if (compatMode == 'x86_64') {
|
||||
suffix = '-generic';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue