Files
portmaster/desktop
Alexandr Stelnykovych ce67af81e3 fix(tauri): harden UI process restart path resolution and avoid exit on relaunch failure
This fixes Linux-related issue when UI process do not start automatically after upgrade.

- replace direct current_exe relaunch usage with verified launch program resolution
- consider both current_exe and argv0, but only accept verified launchable file paths
- fail relaunch with explicit error when no safe executable path is available
- in reconnect flow, exit current UI only if relaunch spawn succeeds
- if relaunch request fails, keep current UI process running and continue normal startup

https://github.com/safing/portmaster-shadow/issues/40
2026-04-10 16:01:13 +03:00
..