We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node -v
const launcher = new AutoLaunch({ name: result.productName, path: 'C:\\Program Files\\test\\service\\6.0.177\\test.exe', isHidden: true }); try { await launcher.enable(); log.info(MODULE_NAME, `auto-launch ${result.productName} successfully!`); } catch (error) { log.error(MODULE_NAME, `auto-launch ${result.productName} failed! ${error}`); }``` I also tried to remove `path` but it's the same result
The text was updated successfully, but these errors were encountered:
to whoever uses Electron and wants to do auto-launch, Electron has native support for this functionality. Here is the doc for that https://electronjs.org/docs/api/app#appgetloginitemsettingsoptions-macos-windows
Sorry, something went wrong.
@4ver can you get someone to test on Windows?
have a look! dependencies: auto-launch -> AutoLaunchWindows -> winreg -> getRegExePath . path.join(process.env.windir, 'system32', 'reg.exe'); process.env.windir is undefined.
you should use auto-launch module in main process, I solved this problem
No branches or pull requests
Windows 8.1
node -v
):7.7.4
5.0.3
Electron
1.7.9
main
The text was updated successfully, but these errors were encountered: