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

feat(nsis): implement file associations per user #2861

Closed
wants to merge 1 commit into from

Conversation

nikku
Copy link
Contributor

@nikku nikku commented May 2, 2018

By writing the relevant entries either to

HKEY_LOCAL_MACHINE\Software\Classes

or to

HKEY_CURRENT_USER\Software\Classes

we're able to support file associations on user installations, too.

Closes #2860.

@nikku
Copy link
Contributor Author

nikku commented May 2, 2018

Could you give me a few pointers where to write tests for that feature?

@nikku nikku force-pushed the file-assoc-per-user branch 2 times, most recently from 33322c8 to 88ed9e5 Compare May 2, 2018 21:04
@nikku
Copy link
Contributor Author

nikku commented May 2, 2018

I've removed the assertion testing for perMachine, as this effectively fixes #772.

By writing the relevant entries either to

  HKEY_LOCAL_MACHINE\Software\Classes

or to

  HKEY_CURRENT_USER\Software\Classes

we're able to support file associations on user
installations, too.

Closes electron-userland#2860
@develar
Copy link
Member

develar commented May 3, 2018

@clusterberries Hi, it seems per-user is possible :)

@develar
Copy link
Member

develar commented May 3, 2018

Ouch, it really works. @nikku You are hero.

@develar
Copy link
Member

develar commented May 3, 2018

where to write tests for that feature?

existing test is enough, for now not possible to automate this check (checked manually that association works).

@develar develar closed this in 4adfbdd May 3, 2018
@nikku nikku deleted the file-assoc-per-user branch May 3, 2018 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants