Skip to content

chore: set 'stop VPN on quit' setting to true by default #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented May 8, 2025

It's fair to assume if you're closing Coder Desktop, you want Coder Connect to stop, so this is the default behaviour.

Tailscale also stops their VPN when quitting the app, even though it works fine with the app closed.

This won't have any effect on existing installations, this only sets the default value for new installations.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ethanndickson ethanndickson requested a review from ibetitsmike May 8, 2025 04:40
@ethanndickson ethanndickson marked this pull request as ready for review May 8, 2025 04:40
guard object(forKey: key) != nil else {
return nil
}
return bool(forKey: key)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why this API doesn't already just return a Bool?. It is quite silly.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image I'm also not the first to do this...

Copy link
Member Author

ethanndickson commented May 14, 2025

Merge activity

  • May 14, 3:21 AM EDT: A user started a stack merge that includes this pull request via Graphite.
  • May 14, 3:22 AM EDT: @ethanndickson merged this pull request with Graphite.

@ethanndickson ethanndickson merged commit 37d7e35 into main May 14, 2025
4 checks passed
@ethanndickson ethanndickson deleted the ethan/stop-vpn-on-quit-default-true branch May 14, 2025 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants