Symptom
`src-tauri/installer-hooks.nsh:90` deletes only `"Case Maker (TCP 8000)"` on uninstall. If the user installed with `/PORT=9000` or any other port, that rule survives the uninstall — leaving stale firewall holes.
Fix options
- Write the chosen port to a registry value at install time; read it back at uninstall and delete the matching rule.
- Discover all rules with display name prefix `"Case Maker (TCP "` via `netsh advfirewall firewall show rule name=all`, parse, delete each.
Option (1) is more reliable — `netsh` parsing is locale-sensitive.
Source
Architectural review §5.3. Severity: nit.
Symptom
`src-tauri/installer-hooks.nsh:90` deletes only `"Case Maker (TCP 8000)"` on uninstall. If the user installed with `/PORT=9000` or any other port, that rule survives the uninstall — leaving stale firewall holes.
Fix options
Option (1) is more reliable — `netsh` parsing is locale-sensitive.
Source
Architectural review §5.3. Severity: nit.