mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-07 17:05:33 +02:00
chore: Update createMarFile function to include github parameter
This commit is contained in:
parent
2098b24ee5
commit
6de5d11274
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ export const surferPackage = async () => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const marPath = await createMarFile(version, channel)
|
const marPath = await createMarFile(version, channel, brandingDetails.release.github);
|
||||||
dynamicConfig.set('marPath', marPath)
|
dynamicConfig.set('marPath', marPath)
|
||||||
|
|
||||||
await generateBrowserUpdateFiles()
|
await generateBrowserUpdateFiles()
|
||||||
|
@ -137,7 +137,7 @@ function getCurrentBrandName(): string {
|
||||||
return config.brands[brand].brandFullName
|
return config.brands[brand].brandFullName
|
||||||
}
|
}
|
||||||
|
|
||||||
async function createMarFile(version: string, channel: string) {
|
async function createMarFile(version: string, channel: string, github?: { repo: string }) {
|
||||||
log.info(`Creating mar file...`)
|
log.info(`Creating mar file...`)
|
||||||
let marBinary: string = windowsPathToUnix(
|
let marBinary: string = windowsPathToUnix(
|
||||||
join(OBJ_DIR, 'dist/host/bin', 'mar')
|
join(OBJ_DIR, 'dist/host/bin', 'mar')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue