Skip to content
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

Unable to make the application run on startup for all users #62

Open
anaszgh opened this issue Oct 3, 2017 · 5 comments
Open

Unable to make the application run on startup for all users #62

anaszgh opened this issue Oct 3, 2017 · 5 comments

Comments

@anaszgh
Copy link

anaszgh commented Oct 3, 2017

Platform: Windows 10 x64
Node v6.11.2
auto-launch v5.0.1

Using electron, and after installation i run a form which user has to enter configuration for the application, there the auto-launch should work, the problem is that the installation wizard (thus the configuration form) runs under a specific user, and the main application (which i need to set the auto launch for) runs under different user.

And because of this the auto launch functionality wont work because the registry change is under HKCU, to resolve this there must be a parameter in the construct whether the auto launch should be for all users or not, and this boolean value will decide whether to make the change in HKCU or HKLM.

@adam-lynch
Copy link
Contributor

Oh nice find. We would be open to adding that. Could you open a pull-request? 😄

@anaszgh
Copy link
Author

anaszgh commented Nov 27, 2017

@adam-lynch
Sorry for being late,
I'm unable to push my code, can you please help through it?

remote: Permission to Teamwork/node-auto-launch.git denied to anaszgh.
fatal: unable to access 'https://github.com/Teamwork/node-auto-launch.git/': 
The requested URL returned error: 403

@adam-lynch
Copy link
Contributor

@anaszgh no problem. Only maintainers of this project have access/permission to push directly to the repository directly. So what you need to:

  1. Create a fork. This is essentially a copy of the project you own. Here is a GitHub help article on that: https://help.github.com/articles/fork-a-repo/.
  2. Push your code there.
  3. Create a pull-request, i.e. a request to take the code you pushed to your fork and add it to the original project. Here is a GitHub help article on that: https://help.github.com/articles/creating-a-pull-request-from-a-fork/.

Let me know if you've any questions 😄

@itsre
Copy link

itsre commented Dec 10, 2017

Is the pull-request has been merged in to the master?

@anaszgh
Copy link
Author

anaszgh commented Dec 10, 2017

Not yet, sorry for being late, i'll do it today 😄

anaszgh added a commit to anaszgh/node-auto-launch that referenced this issue Dec 10, 2017
@Oxalin Oxalin self-assigned this Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants