You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
30.0.1
What operating system are you using?
Windows
Operating System Version
Windows 10 / 11
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
The next code should add my app to the TaskManager / StartUp List.
app.setLoginItemSettings({ openAtLogin: true })
Actual Behavior
app.setLoginItemSettings({ openAtLogin: true }) is no working with APPX apps after publishing it.
It is working well in MAS, but not APPX... I was checking that you guys fixed the same problem with MAS a few months ago. So it could be a bug too.
So any news about it?, I was able to fix it by creating a shortcut and moving it to ${homePath}/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup/
Looks like in Windows there are two ways to do it, modifying the REGISTER or adding that shortcut in that folder "This way doesn't require admin privileges and works well for all types of apps .exe, appx, etc".
Would be nice if you could support both, probably adding an extra param in setLoginItemSettings
Preflight Checklist
Electron Version
30.0.1
What operating system are you using?
Windows
Operating System Version
Windows 10 / 11
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
The next code should add my app to the TaskManager / StartUp List.
app.setLoginItemSettings({ openAtLogin: true })
Actual Behavior
app.setLoginItemSettings({ openAtLogin: true })
is no working with APPX apps after publishing it.It is working well in MAS, but not APPX... I was checking that you guys fixed the same problem with MAS a few months ago. So it could be a bug too.
You can verify and test with the next app
https://apps.microsoft.com/detail/9n052x4kr94s?hl=en-us&gl=US
Let me know if you need extra info, Thanks... And I also invite you guys to try this new app if you like :)...
Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: