-
-
Notifications
You must be signed in to change notification settings - Fork 445
run as administration when holding ctrl and shift #663
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contribution!
Thanks @themike10452 What about changing Ctrl + Shift to be just Ctrl? So it's the same as Shell plugin invoking administrator. |
@jjw24 i wanted to mimic the behavior of windows start menu where ctrl+shift+enter will run the selected program as administrator. Microsoft's PowerToys Run uses the same key combination as well. |
Yeah ok I didn't know that's the windows default. @taooceros worth realign the default admin key combo for shell plugin? |
@themike10452 Do you want to handle that in this pr together? |
sure I'll add that to the PR. I wanted to look at launching UWP apps as admin as well. |
@jjw24 I added 2 commits to this PR, we can now launch UWP apps and shell commands as admin when holding ctrl + shift. |
Amazing, I want to launcher windows terminal as administrative for a long time. |
me too! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will wait for a while to merge for others to take a look
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you @themike10452. Just added version bumps since we also added admin launch for files in Explorer plugin.
@taooceros let's hold for 1.9.0. This pr is available in the pre-release #640 |
add run as administration when holding ctrl and shift to Program and Explorer plugins.
change Shell plugin's admin key from ctrl to ctrl and shift