mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
In #7680, I stated that a VPN profile's status goes to `.invalid` when its associated system extension is yanked. That's not always true. I observed cases where the profile was still in the `.disconnected` state with the system extension disabled or removed. So, now we explicitly check on startup for two distinct states: - whether the system extension is installed - whether the VPN profile is valid Based on this, we show an improved GrantVPNView for macOS only with clear steps the user must perform to get set up. If the user accidentally closes this window, they can open the Menubar and click "Allow VPN permission to sign in" which will both (re)install the extension and allow the profile. <img width="1012" alt="Screenshot 2025-01-07 at 5 23 19 PM" src="https://github.com/user-attachments/assets/c36b078e-835b-4c6e-a186-bc2e5fef7799" /> <img width="1012" alt="Screenshot 2025-01-07 at 5 24 06 PM" src="https://github.com/user-attachments/assets/23d84af4-4fdb-4f03-b8f9-07a1e09da891" /> <img width="1012" alt="Screenshot 2025-01-07 at 5 31 41 PM" src="https://github.com/user-attachments/assets/5b88dfa4-1725-45f2-bd6e-1939b5639cf4" />