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

Request elevated privileges using application manifest #15

Open
Kostassoid opened this issue Sep 3, 2020 · 0 comments
Open

Request elevated privileges using application manifest #15

Kostassoid opened this issue Sep 3, 2020 · 0 comments
Labels
feature New feature or request windows Windows support

Comments

@Kostassoid
Copy link
Owner

Kostassoid commented Sep 3, 2020

Currently the app will notify the user if the application is not running with elevated privileges. A better UX could be to actually request these privileges automatically using application manifests.

Sadly, rust does not currently support this. Relevant ticket in rust-lang: rust-lang/rfcs#721

There's a way to workaround that: https://crates.io/crates/winres
Should be simple enough to do for local builds. The potential challenge is the CI.

@Kostassoid Kostassoid created this issue from a note in Lethe development (To do) Sep 3, 2020
@Kostassoid Kostassoid added the feature New feature or request label Sep 3, 2020
@Kostassoid Kostassoid added the windows Windows support label Apr 26, 2021
@Kostassoid Kostassoid changed the title Check for admin permissions Request elevated privileges using application manifest Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request windows Windows support
Projects
Development

No branches or pull requests

1 participant