[client] Fix/stuck connecting when can't access api.netbird.io (#5033)

- Connect on daemon start only if the file existed before
- fixed a bug that happened when the default profile config was removed, which would recreate it and reset the active profile to the default.
This commit is contained in:
Maycon Santos
2026-01-05 15:53:17 +03:00
committed by GitHub
parent 08b782d6ba
commit 07856f516c
4 changed files with 29 additions and 62 deletions

View File

@@ -110,7 +110,6 @@ func wakeUpListen(ctx context.Context) {
}
if newHash == initialHash {
log.Tracef("no wakeup detected")
continue
}