Open ch1ny opened 2 years ago
š Thanks for opening your first issue here! If you have a question about using Electron Packager, read the support docs. If you're reporting a š bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
Hey man, have you fixed this error yet?
Hey man, have you fixed this error yet?
Yes, I have solved this problem by modifying the Windows registry, but I am not sure that my method is appropriate. You can see my code from the link below: https://github.com/ch1ny/SduMeeting/blob/7ed5a51e2eac5716f16f30639455aa3d762b1260/main.js#L363
There may be other, better ways to work it out.
up
Preflight Checklist
Issue Details
Behavior
I'm trying to add a feature to my Electron application to make it automatically run after my computer starting up. And this is my source code:
If I packaged my application with command like this , my application can be successfully self-booted.
However, to implement certain features, I have to package it with command like this to get administrator privileges.
The application packaged in this way cannot be opened automatically.
Additional Information
Excuse me, I'm a college student from a university in China with poor English. I wish my poor presentation wouldn't cause troubles for you.