I have an Electron project with a local path including a folder name of ../my.app.win/.. that is causing the Electron binary resolution logic below to mistakenly think it is targeting macOS platform even though I'm working on Windows:
|
if (pathToElectron.includes('.app')) { |
My suggestion would be to update the
pathToFuseFile() function to perform a
fs.existsSync() check before returning the Electron binary path and/or check current OS type from Node's
os.type() call.
I believe the same issue exists for this check as well:
|
if (fuseConfig.resetAdHocDarwinSignature && pathToElectron.includes('.app')) { |
I have an Electron project with a local path including a folder name of
../my.app.win/..that is causing the Electron binary resolution logic below to mistakenly think it is targeting macOS platform even though I'm working on Windows:fuses/src/index.ts
Line 50 in 12810c2
pathToFuseFile()function to perform afs.existsSync()check before returning the Electron binary path and/or check current OS type from Node'sos.type()call.I believe the same issue exists for this check as well:
fuses/src/index.ts
Line 187 in 12810c2