Atlas icon indicating copy to clipboard operation
Atlas copied to clipboard

[FEATURE] - Remove dummy aliases for Python

Open agowa opened this issue 1 year ago • 7 comments

What is your feature request regarding to?

Atlas Playbook

Is your feature request related to a problem? Please describe.

The App Installer has two annoying app execution aliases registered. Namely "python.exe" and "python3.exe", could you just disable them within the Atlas playbook? They do not execute python and can cause the windows store to open, even though python got installed. Also they're unnecessary and bloated.

Describe the solution you would like.

Set the App execution alias of "App Installer" to "Off". This setting can be found within "App > Advanced app settings > App execution aliases" of the settings app.

Describe alternatives you have considered.

does not apply

Additional context.

No response

agowa avatar Jan 18 '24 13:01 agowa

This is a problem on windows in general, Microsoft sucks ass

Ast3risk-ops avatar Jan 18 '24 17:01 Ast3risk-ops

@Ast3risk-ops true, but as Atlas already fixes a lot of other annoyances it kinda would be nice if it was added to the playbook.

agowa avatar Jan 18 '24 17:01 agowa

Might be difficult to do, but a good suggestion.

he3als avatar Jan 18 '24 20:01 he3als

Might be difficult to do, but a good suggestion.

Just for curiosity, do you guys plan to add it to next release?

CodingMadness avatar Mar 09 '24 22:03 CodingMadness

Not currently, I can't find an official way to programmatically manage app execution aliases.

he3als avatar Mar 10 '24 20:03 he3als

They are managed within: $env:LOCALAPPDATA\Microsoft\WindowsApps, HKCU:\Software\Microsoft\Windows\CurrentVersion\App Paths, and HKLM:\Software\Microsoft\Windows\CurrentVersion\App Paths

Also see https://learn.microsoft.com/en-us/windows/win32/shell/app-registration#using-the-app-paths-subkey

I'd call this the official way as that documentation states:

To register and control the behavior of your applications with the App Paths subkey:

agowa avatar Mar 14 '24 23:03 agowa

App Execution Aliases don't seem to be managed in those keys. Deleting the file from WindowsApps works but it's a hacky solution that I'd rather not implement, especially as it doesn't update the toggle in Windows Settings.

he3als avatar Mar 15 '24 18:03 he3als