mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
If the user tries to start the tunnel from system settings without launching the GUI after upgrading to >= 1.4.15, the new configuration will be empty, and we'll fail to set the accountSlug, preventing the tunnel from starting. To fix this, we add a simple convenience function that returns the legacy configuration, and we use this configuration to start the tunnel in case the GUI hasn't started. Once the GUI starts, the legacy configuration is migrated and deleted, so this is more of an edge case. Still, given the hundreds/thousands of Apple device installations we have, someone is bound to hit it, and it would be better to spend a few minutes saving potentially man-hours of troubleshooting later.