mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-07 17:05: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",
|
"name": "@zen-browser/surfer",
|
||||||
"version": "1.10.5",
|
"version": "1.10.6",
|
||||||
"description": "Simplifying building firefox forks!",
|
"description": "Simplifying building firefox forks!",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
|
@ -155,7 +155,7 @@ export const surferPackage = async () => {
|
||||||
log.success('Packaging complected!')
|
log.success('Packaging complected!')
|
||||||
}
|
}
|
||||||
|
|
||||||
function getCurrentBrandName(): string {
|
export function getCurrentBrandName(): string {
|
||||||
const brand = dynamicConfig.get('brand') as string
|
const brand = dynamicConfig.get('brand') as string
|
||||||
|
|
||||||
if (brand == 'unofficial') {
|
if (brand == 'unofficial') {
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import { config } from '..'
|
import { config } from '..'
|
||||||
|
import { getCurrentBrandName } from '../commands/package'
|
||||||
import { getFFVersionOrCandidate } from '../utils'
|
import { getFFVersionOrCandidate } from '../utils'
|
||||||
|
|
||||||
const otherBuildModes = `# You can change to other build modes by running:
|
const otherBuildModes = `# You can change to other build modes by running:
|
||||||
|
@ -53,5 +54,9 @@ export ZEN_FIREFOX_VERSION=${getFFVersionOrCandidate()}
|
||||||
export MOZ_APPUPDATE_HOST=${
|
export MOZ_APPUPDATE_HOST=${
|
||||||
config.updateHostname || 'localhost:7648 # This should not resolve'
|
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