mirror of
https://github.com/fosrl/olm.git
synced 2026-03-09 07:13:10 -05:00
OLM removes System PATH variable on Windows11 #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kazumasan on GitHub (Nov 10, 2025).
Originally assigned to: @oschwartz10612, @Copilot on GitHub.
Describe the Bug
When the Program is uninstalled, it removes the whole SYSTEM PATH variable, not only the entry for OLM on Windows11
Healthy System PATH var:
after uninstall and reinstall 😄
Noticed because I wanted to check tunnel status, after uninstalling 0.8 and reinstalling 1.0, with
routeandpingbut got this in return.Environment
To Reproduce
Uninstall OLM and check Path with powershell or GUI
[System.Environment]::GetEnvironmentVariable('PATH', 'Machine')Expected Behavior
Just remove the Entry for OLM from System path.
@oschwartz10612 commented on GitHub (Nov 10, 2025):
Could you confirm if this still is an issue with the latest version?
@Kazumasan commented on GitHub (Nov 10, 2025):
@oschwartz10612 Sorry, actually is current version. It's missreported on installed Apps:
@oschwartz10612 commented on GitHub (Nov 11, 2025):
I think this has to do with the PATH code in https://github.com/fosrl/olm/blob/main/olm.iss