mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-07 08:55:33 +02:00
bump version to 1.10.6 and export getCurrentBrandName function for MacOS settings
This commit is contained in:
parent
fd234005ec
commit
ede53fca1e
3 changed files with 8 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@zen-browser/surfer",
|
||||
"version": "1.10.5",
|
||||
"version": "1.10.6",
|
||||
"description": "Simplifying building firefox forks!",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
|
|
|
@ -155,7 +155,7 @@ export const surferPackage = async () => {
|
|||
log.success('Packaging complected!')
|
||||
}
|
||||
|
||||
function getCurrentBrandName(): string {
|
||||
export function getCurrentBrandName(): string {
|
||||
const brand = dynamicConfig.get('brand') as string
|
||||
|
||||
if (brand == 'unofficial') {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import { config } from '..'
|
||||
import { getCurrentBrandName } from '../commands/package'
|
||||
import { getFFVersionOrCandidate } from '../utils'
|
||||
|
||||
const otherBuildModes = `# You can change to other build modes by running:
|
||||
|
@ -53,5 +54,9 @@ export ZEN_FIREFOX_VERSION=${getFFVersionOrCandidate()}
|
|||
export MOZ_APPUPDATE_HOST=${
|
||||
config.updateHostname || 'localhost:7648 # This should not resolve'
|
||||
}
|
||||
`
|
||||
` + process.platform === 'macos' ? `
|
||||
|
||||
# MacOS specific settings
|
||||
export MOZ_MACBUNDLE_NAME=${getCurrentBrandName()}
|
||||
` : '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue