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

[Windows]Refactor system context menu #1831

Merged
merged 1 commit into from
May 20, 2017
Merged

[Windows]Refactor system context menu #1831

merged 1 commit into from
May 20, 2017

Conversation

Specro
Copy link
Contributor

@Specro Specro commented May 15, 2017

Refactored the system context menu code. Now it's less complex and easier to debug in the future. This should fix all these #1734 #1668 #1651 #1133 bugs as far as my testing goes. Any more testing from other Win users always appreciated 😄 Otherwise it's ready for merge.

Open Hyper here

@ppot
Copy link
Contributor

ppot commented May 15, 2017

As far as I am concern. I can't test on windows. Could you make a gif of the result (context) or pictures here.

@Specro
Copy link
Contributor Author

Specro commented May 15, 2017

It looks the same as before. I added the picture nevertheless.

@Specro Specro changed the title Refactor system context menu [Windows]Refactor system context menu May 15, 2017
}
});
};

exports.remove = function (callback) {
isRegistered(registered => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove this check? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not really needed since the destroy function returns an error if it can't find the Hyper key or something else goes wrong. Helps to debug if we get these menu bugs again. Also, less registry requests - faster (un)installation.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool

@chabou
Copy link
Contributor

chabou commented May 20, 2017

Tested on Win10. Works really great! No more problem with install/uninstall.
It's a good thing that registry key is rewritten at each Hyper update.

Copy link
Contributor

@albinekb albinekb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

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.

4 participants