From 284c1b08054e366e1f89e1d5ca2e974a598ccc84 Mon Sep 17 00:00:00 2001 From: Austin Pickett Date: Sat, 26 Sep 2026 20:36:05 -0400 Subject: [PATCH] fix(uninstall): mark darwin-only os.getuid as windows-footgun ok --- hermes_cli/uninstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hermes_cli/uninstall.py b/hermes_cli/uninstall.py index 951fe58caf..b00a558758 100644 --- a/hermes_cli/uninstall.py +++ b/hermes_cli/uninstall.py @@ -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}"):