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

Maintain one configuration per profile #636

Merged
merged 3 commits into from
Sep 30, 2024

Conversation

keeshux
Copy link
Member

@keeshux keeshux commented Sep 30, 2024

Helps with automation. Install the VPN configuration before persisting a profile, so that the 1:1 reference with OS settings is maintained. Likewise, uninstall the VPN configuration after removing a profile.

This before-save hook also resolves a problem with multiple imports, where multiple VPN permission alerts coalesce if no VPN configuration is installed. Now the first import waits for the permission synchronously.

Fixes #618

@keeshux keeshux self-assigned this Sep 30, 2024
@keeshux keeshux added the refactoring Improves software architecture label Sep 30, 2024
@keeshux keeshux added this to the 3.0.0 / 2. Features milestone Sep 30, 2024
@keeshux keeshux merged commit a9fa6a2 into master Sep 30, 2024
1 check passed
@keeshux keeshux deleted the refactoring/configuration-per-profile branch September 30, 2024 12:56
keeshux added a commit that referenced this pull request Oct 2, 2024
keeshux added a commit that referenced this pull request Oct 3, 2024
Follow the same approach as #636, because if no profiles are formerly
installed the first import will trigger a VPN permission alert. Weird
things may happen in that case if profiles are imported in parallel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Improves software architecture
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Save one configuration per profile
1 participant