Skip to content

Commit 39157ca

Browse files
mr-cheffyCopilot
andcommitted
bump version to 1.14.6 and update branding file path handling for cross-platform compatibility
Co-authored-by: Copilot <copilot@github.com>
1 parent 334e580 commit 39157ca

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zen-browser/surfer",
3-
"version": "1.14.5",
3+
"version": "1.14.6",
44
"description": "Simplifying building firefox forks!",
55
"main": "index.js",
66
"bin": {

src/commands/patches/command.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,10 @@ async function importCertPatches(): Promise<Task> {
147147
cwd: ENGINE_DIR,
148148
})
149149
for (const file of brandingFiles) {
150-
const brandName = file.split('/')[2]
150+
const brandName =
151+
process.platform === 'win32'
152+
? file.split('\\')[2]
153+
: file.split('/')[2]
151154
files[
152155
`engine/browser/branding/${brandName}/branding.nsi` as keyof typeof files
153156
] = [

0 commit comments

Comments
 (0)