mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-07 08:55:33 +02:00
bump version to 1.9.10 and remove unused zenMacDestDir variable from package command
Some checks failed
CI / general (push) Has been cancelled
Some checks failed
CI / general (push) Has been cancelled
This commit is contained in:
parent
64ca9e9eb9
commit
89b2c3927a
2 changed files with 5 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@zen-browser/surfer",
|
||||
"version": "1.9.9",
|
||||
"version": "1.9.10",
|
||||
"description": "Simplifying building firefox forks!",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
|
|
|
@ -55,7 +55,6 @@ export const surferPackage = async () => {
|
|||
)
|
||||
|
||||
const currentCWD = process.cwd()
|
||||
const zenMacDestDir = join(currentCWD, 'zen-browser')
|
||||
|
||||
if (!process.env.SURFER_SIGNING_MODE) {
|
||||
await dispatch(machPath, arguments_, ENGINE_DIR, true)
|
||||
|
@ -155,8 +154,7 @@ export const surferPackage = async () => {
|
|||
const marPath = await createMarFile(
|
||||
version,
|
||||
channel,
|
||||
brandingDetails.release.github,
|
||||
zenMacDestDir
|
||||
brandingDetails.release.github
|
||||
)
|
||||
dynamicConfig.set('marPath', marPath)
|
||||
|
||||
|
@ -181,8 +179,7 @@ function getCurrentBrandName(): string {
|
|||
async function createMarFile(
|
||||
version: string,
|
||||
channel: string,
|
||||
github?: { repo: string },
|
||||
zenMacDestDir?: string
|
||||
github?: { repo: string }
|
||||
): Promise<string> {
|
||||
log.info(`Creating mar file...`)
|
||||
let marBinary: string = windowsPathToUnix(
|
||||
|
@ -197,8 +194,8 @@ async function createMarFile(
|
|||
// <obj dir>/dist/${binaryName}/${brandFullName}.app and on everything else,
|
||||
// the contents of the folder <obj dir>/dist/${binaryName}
|
||||
const binary =
|
||||
(process as any).surferPlatform == 'darwin' && zenMacDestDir
|
||||
? join(zenMacDestDir, `${getCurrentBrandName()}.app`)
|
||||
(process as any).surferPlatform == 'darwin'
|
||||
? join(OBJ_DIR, 'dist', config.binaryName, `${getCurrentBrandName()}.app`)
|
||||
: join(OBJ_DIR, 'dist', config.binaryName)
|
||||
|
||||
const marPath = resolve(DIST_DIR, 'output.mar')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue