kessler / node-regedit

Read, Write, List and do all sorts of funky stuff to the windows registry using node.js and windows script host
MIT License
279 stars 45 forks source link

command failed when app packaged with asar true in electron #52

Closed shijisun closed 6 years ago

shijisun commented 6 years ago

Command failed: cscript.exe //Nologo C:\Program Files\anna\resources\app.asar\main\lib etwork\win32\node\vbs\regList.wsf A HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections

Error: Command failed: cscript.exe //Nologo C:\Program Files\anna\resources\app.asar\main\lib\network\win32\node\vbs\regList.wsf A HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections at ChildProcess.exithandler (child_process.js:217:12) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:194:7) at maybeClose (internal/child_process.js:899:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) killed: false, code: 1, signal: null, cmd: 'cscript.exe //Nologo C:\Program Files\anna\resources\app.asar\main\lib\network\win32\node\vbs\regList.wsf A HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections

muminasaad commented 6 years ago

Check Pull Request to fix this issue #47

kessler commented 6 years ago

fixed in e41c9a88af6c5addb5bf08995f74482774084ae5

websrookie commented 4 years ago

目前还是存在这个问题

kessler commented 4 years ago

@websrookie 提供例子 please :)