Skip to content

Commit

Permalink
chore: Update package.json version to 1.0.39 and optimize Windows pla…
Browse files Browse the repository at this point in the history
…tform flags
  • Loading branch information
mauro-balades committed Jul 23, 2024
1 parent 94706db commit 0be65d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zen-browser/surfer",
"version": "1.0.38",
"version": "1.0.39",
"description": "Simplifying building firefox forks!",
"main": "index.js",
"bin": {
Expand Down
4 changes: 3 additions & 1 deletion src/commands/download/firefox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ async function unpackFirefoxSource(name: string): Promise<void> {

log.info(`Unpacking ${resolve(MELON_TMP_DIR, name)} to ${ENGINE_DIR}`)
if (process.platform === 'win32') {
await execa('7z', ['e', resolve(MELON_TMP_DIR, name)]);
log.info('Unpacking Firefox source on Windows (7z)')
await execa('7z', ['x', resolve(MELON_TMP_DIR, name)]);
log.info('Unpacking Firefox source again without the .xz extension')
await execa('7z', ['x', resolve(MELON_TMP_DIR, name.replace('.tar.xz', '.tar')), '-o' + ENGINE_DIR]);
return
}
Expand Down

0 comments on commit 0be65d2

Please sign in to comment.