Skip to content

Commit

Permalink
chore: Update package.json version to 1.0.36 and optimize Linux platf…
Browse files Browse the repository at this point in the history
…orm flags
  • Loading branch information
mauro-balades committed Jul 22, 2024
1 parent 213b688 commit ed6147e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zen-browser/surfer",
"version": "1.0.35",
"version": "1.0.36",
"description": "Simplifying building firefox forks!",
"main": "index.js",
"bin": {
Expand Down
3 changes: 3 additions & 0 deletions src/constants/mozconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ export MOZ_APPUPDATE_HOST=${

function getPlatformOptimiseFlags(): string {
let optimiseFlags = `# Unknown platform ${(process as any).surferPlatform}`
if (process.env.ZEN_GA_GENERATE_PROFILE === '1') {
return `ac_add_options --enable-optimize="-O2"`
}

switch ((process as any).surferPlatform) {
case 'linux': {
Expand Down

0 comments on commit ed6147e

Please sign in to comment.