-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
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
Enable() with AppX doesn't add a registry entry #122
Comments
If an electron app is converted to an AppX, both process.versions.electron and process.windowsStore will be defined. As of now, the logic for detecting an electron app takes precedence over the logic for an AppX in the enable() code. This needs to be revisited. Need more info - If someone can tell me more: how is an AppX built on Electron updated? Does it update itself through update.exe or is it through the MS Store? And is there a "update.exe" file installed? @hovancik |
To help solve issue 122, improve the information logged about the app's path and any error message when registring or unregistring the registry key. (see Teamwork#122) Signed-off-by: Alexandre Demers <[email protected]>
Oh! I think I've found out why it is not working. 6.0.0-rcX tags were created, but they don't seem to contain the actual updated code... Tags were probably created to early. Next 6.0.0-rc2 will be a major update, dropping CoffeeScript and all the other improvements. |
Thanks so much for your work! Let me know how can I test or add more information. I updated my app via Windows Store: by creating a testing group and inviting myself, then pushing test version there. |
@hovancik now would be a good time to test with the just released 6.0.0-rc2 :) |
Great, will try. But it will take some time as I need to wait for approvals and such. Will report. |
Hi @Oxalin , I do not see that version on NPM: https://www.npmjs.com/package/auto-launch?activeTab=versions and installing via github errors when used (but I think it was mentioned elsewhere that you don't plan to fix that? ):
Here's my PR hovancik/stretchly#1450 |
An OS update caused the package to fail working ? Many user of a software i made that use this package complain that it dosen't start on boot even though it should and it was working before and it looks like it dosen't create the registry key. Weird. Does the script need to run as admin to work ? |
@Fefedu973 Please, open a different issue, state the OS version and the node-auto-launch version. Also version 6.0.0 is still a RC, so you shouldn't be using it for production until it is stable. Also, it doesn't have to do with the current issue. Issue 122 was opened because 6.0.0-rc1 was released saying it supported this new feature, but it had not been merged at that time. Now it is. So the issue you're encountering is unrelated. It may be related to a previous change in the 5.x.x branch though. |
I just saw that rc2 build didn't go through Npmjs' build system (there is an error next to build). I'll see what needs to be fixed. For the ES module error/warning, it is to be expected that you'll need to change how it is imported in your application. The change shouldn't be to invasive, mostly by changing "require" for "import" with a few adjustments. |
Seems like Electron is not that friendly with import (https://www.electronjs.org/docs/latest/tutorial/esm) and it's not really something I understand, so I will wait for the RC on NPM. |
OS: Windows
Context: AppX registration on enable()
According to #111 (comment), enable() with AppX doesn't register the application as intended.
Investigate and add appropriate test coverage.
The text was updated successfully, but these errors were encountered: