bump version to 1.9.10 and remove unused zenMacDestDir variable from package command
Some checks failed
CI / general (push) Has been cancelled

This commit is contained in:
mr. M 2025-01-23 14:24:53 +01:00
parent 64ca9e9eb9
commit 89b2c3927a
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
2 changed files with 5 additions and 8 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "@zen-browser/surfer", "name": "@zen-browser/surfer",
"version": "1.9.9", "version": "1.9.10",
"description": "Simplifying building firefox forks!", "description": "Simplifying building firefox forks!",
"main": "index.js", "main": "index.js",
"bin": { "bin": {

View file

@ -55,7 +55,6 @@ export const surferPackage = async () => {
) )
const currentCWD = process.cwd() const currentCWD = process.cwd()
const zenMacDestDir = join(currentCWD, 'zen-browser')
if (!process.env.SURFER_SIGNING_MODE) { if (!process.env.SURFER_SIGNING_MODE) {
await dispatch(machPath, arguments_, ENGINE_DIR, true) await dispatch(machPath, arguments_, ENGINE_DIR, true)
@ -155,8 +154,7 @@ export const surferPackage = async () => {
const marPath = await createMarFile( const marPath = await createMarFile(
version, version,
channel, channel,
brandingDetails.release.github, brandingDetails.release.github
zenMacDestDir
) )
dynamicConfig.set('marPath', marPath) dynamicConfig.set('marPath', marPath)
@ -181,8 +179,7 @@ function getCurrentBrandName(): string {
async function createMarFile( async function createMarFile(
version: string, version: string,
channel: string, channel: string,
github?: { repo: string }, github?: { repo: string }
zenMacDestDir?: string
): Promise<string> { ): Promise<string> {
log.info(`Creating mar file...`) log.info(`Creating mar file...`)
let marBinary: string = windowsPathToUnix( let marBinary: string = windowsPathToUnix(
@ -197,8 +194,8 @@ async function createMarFile(
// <obj dir>/dist/${binaryName}/${brandFullName}.app and on everything else, // <obj dir>/dist/${binaryName}/${brandFullName}.app and on everything else,
// the contents of the folder <obj dir>/dist/${binaryName} // the contents of the folder <obj dir>/dist/${binaryName}
const binary = const binary =
(process as any).surferPlatform == 'darwin' && zenMacDestDir (process as any).surferPlatform == 'darwin'
? join(zenMacDestDir, `${getCurrentBrandName()}.app`) ? join(OBJ_DIR, 'dist', config.binaryName, `${getCurrentBrandName()}.app`)
: join(OBJ_DIR, 'dist', config.binaryName) : join(OBJ_DIR, 'dist', config.binaryName)
const marPath = resolve(DIST_DIR, 'output.mar') const marPath = resolve(DIST_DIR, 'output.mar')