Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9f356e5

Browse files
fix: set network extension as unconfigured when system extension is deleted (#162)
This fixes a bug when `Launch Coder Connect at startup` is enabled when updating the app with#161, where the app attempts to start too early, as it thinks the VPN is configured, but it was unconfigured with the deletion of the system extension.
1 parent05e41b7 commit9f356e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎Coder-Desktop/Coder-Desktop/VPN/VPNSystemExtension.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ extension CoderVPNService: SystemExtensionAsyncRecorder {
6363
// system extension was successfully installed, so we don't need the delegate any more
6464
systemExtnDelegate=nil
6565
}
66+
if state==.uninstalled{
67+
// System extension was deleted, and the VPN configurations go with it
68+
neState=.unconfigured
69+
}
6670
}
6771

6872
func installSystemExtension(){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp