fix(uninstall): mark darwin-only os.getuid as windows-footgun ok

This commit is contained in:
Austin Pickett
2026-09-26 20:36:05 -04:00
parent 6846c6c882
commit 284c1b0805

View File

@@ -323,7 +323,7 @@ def _remove_launchd_gateway() -> bool:
job whose plist is gone.
"""
plists = _launchd_gateway_plists()
uid = os.getuid()
uid = os.getuid() # windows-footgun: ok — darwin-only (called from the macOS branch)
for plist_path in plists:
label = plist_path.stem
for domain in (f"gui/{uid}", f"user/{uid}"):