app.setLoginItemSettings
works incorrectly while packaged with the environment variable --win32metadata.requested-execution-level=requireAdministrator
#1366
Labels
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.
The text was updated successfully, but these errors were encountered: