mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-07 17:05:33 +02:00
chore: Update package.json version to 1.0.35 and fix Windows platform check
This commit is contained in:
parent
ed9b6a7bc9
commit
213b688590
2 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@zen-browser/surfer",
|
||||
"version": "1.0.34",
|
||||
"version": "1.0.35",
|
||||
"description": "Simplifying building firefox forks!",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
|
|
|
@ -78,7 +78,7 @@ export const FTL_STRING_LINE_REGEX =
|
|||
export let BASH_PATH: string | undefined
|
||||
|
||||
// All windows specific code should be located inside of this if statement
|
||||
if ((process as any).platform == 'win32') {
|
||||
if (process.platform == 'win32') {
|
||||
const gitPath = execa.sync('where.exe git.exe').stdout.toString()
|
||||
|
||||
if (gitPath.includes('git.exe')) {
|
||||
|
@ -96,7 +96,9 @@ if ((process as any).platform == 'win32') {
|
|||
log.error('Could not find bash, aborting')
|
||||
}
|
||||
}
|
||||
|
||||
// Replace .exe with .EXE
|
||||
BASH_PATH = BASH_PATH.replace(/\.exe$/, '.EXE')
|
||||
|
||||
log.debug(`Found bash at ${BASH_PATH}`)
|
||||
} else {
|
||||
log.error(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue