Skip to content
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

Save last used profile #1036

Merged
merged 4 commits into from
Dec 21, 2024
Merged

Save last used profile #1036

merged 4 commits into from
Dec 21, 2024

Conversation

keeshux
Copy link
Member

@keeshux keeshux commented Dec 21, 2024

Especially useful on macOS and tvOS where Network Extension does not retain this information when the profile is disabled. On these platforms, there's no native way to tell the last used profile, so save it to UserDefaults and fall back to it when tunnel.currentProfile is nil.

Closes #1035

@keeshux keeshux self-assigned this Dec 21, 2024
@keeshux keeshux added bug Something isn't working macOS Related to macOS app tvOS Related to tvOS app labels Dec 21, 2024
@keeshux keeshux added this to the 3.0.0 / 7. Release milestone Dec 21, 2024
@keeshux keeshux merged commit f112ea8 into master Dec 21, 2024
1 check passed
@keeshux keeshux deleted the feature/save-last-used-profile branch December 21, 2024 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macOS Related to macOS app tvOS Related to tvOS app
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Save last used profile in app
1 participant