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

Use absolute alias path to launch utilities #2911

Merged
merged 2 commits into from
May 15, 2024

Conversation

dabhattimsft
Copy link
Contributor

@dabhattimsft dabhattimsft commented May 15, 2024

Summary of the pull request

AppExecutionAlias can be disabled from the Settings. This would remove exe entry from %locaappdata%\Microsoft\WindowsApps folder. Entry in %locaappdata%\Microsoft\WindowsApps<package> still exists. Hence this PR switches to using that path. However, launch as admin still fails with this approach due to OS bug.

This change also wraps Process.Start in try-catch to prevent DevHome from crashing.

References and relevant issues

Detailed description of the pull request / Additional comments

Validation steps performed

PR checklist

@EricJohnson327 EricJohnson327 merged commit ab73c75 into main May 15, 2024
4 checks passed
@EricJohnson327 EricJohnson327 deleted the user/dabhatti/appExAliasPath branch May 15, 2024 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants