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

Commit2094e9f

Browse files
authored
chore: remove "VPN" from setting description (#86)
Rename "CoderVPN" to "Coder Connect" in UI and system components- Updates VPN-related text from "CoderVPN" to "Coder Connect" in UI components- Changes network extension references from "VPN" to "NE" in system messages- Updates VPN tunnel name from "CoderVPN" to "Coder" in network configuration- Modifies installation scripts to use "Coder" as the VPN service name
1 parentb7ccbca commit2094e9f

File tree

10 files changed

+21
-21
lines changed

10 files changed

+21
-21
lines changed

‎Coder Desktop/Coder Desktop/NetworkExtension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ extension CoderVPNService {
5050
logger.debug("inserting new tunnel")
5151

5252
lettm=NETunnelProviderManager()
53-
tm.localizedDescription="CoderVPN"
53+
tm.localizedDescription="Coder"
5454
tm.protocolConfiguration= proto
5555

5656
logger.debug("saving new tunnel")

‎Coder Desktop/Coder Desktop/SystemExtension.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ enum SystemExtensionState: Equatable, Sendable {
1111
vardescription:String{
1212
switchself{
1313
case.uninstalled:
14-
"VPN SystemExtension is waiting to be activated"
14+
"NE SystemExtension is waiting to be activated"
1515
case.needsUserApproval:
16-
"VPN SystemExtension needs user approval to activate"
16+
"NE SystemExtension needs user approval to activate"
1717
case.installed:
18-
"VPN SystemExtension is installed"
18+
"NE SystemExtension is installed"
1919
caselet.failed(error):
20-
"VPN SystemExtension failed with error:\(error)"
20+
"NE SystemExtension failed with error:\(error)"
2121
}
2222
}
2323
}

‎Coder Desktop/Coder Desktop/Views/Settings/GeneralTab.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ struct GeneralTab: View {
1010
}
1111
Section{
1212
Toggle(isOn: $state.stopVPNOnQuit){
13-
Text("StopVPN on Quit")
13+
Text("StopCoder Connect on Quit")
1414
}
1515
}
1616
}.formStyle(.grouped)

‎Coder Desktop/Coder Desktop/Views/Settings/LiteralHeadersSection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ struct LiteralHeadersSection<VPN: VPNService>: View {
1515
Toggle(isOn: $state.useLiteralHeaders){
1616
Text("HTTP Headers")
1717
Text("When enabled, these headers will be included on all outgoing HTTP requests.")
18-
if vpn.state!=.disabled{Text("Cannot be modified while CoderVPN is enabled.")}
18+
if vpn.state!=.disabled{Text("Cannot be modified while CoderConnect is enabled.")}
1919
}
2020
.controlSize(.large)
2121

‎Coder Desktop/Coder Desktop/Views/VPNMenu.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct VPNMenu<VPN: VPNService>: View {
2020
}
2121
}
2222
)){
23-
Text("CoderVPN")
23+
Text("Coder Connect")
2424
.frame(maxWidth:.infinity, alignment:.leading)
2525
.font(.body.bold())
2626
.foregroundColor(.primary)

‎Coder Desktop/Coder Desktop/Views/VPNState.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ struct VPNState<VPN: VPNService>: View {
1414
.font(.body)
1515
.foregroundStyle(.secondary)
1616
case(_,false):
17-
Text("Sign in to useCoderVPN")
17+
Text("Sign in to useCoder Desktop")
1818
.font(.body)
1919
.foregroundColor(.secondary)
2020
case(.disabled, _):
21-
Text("EnableCoderVPN to see workspaces")
21+
Text("EnableCoder Connect to see workspaces")
2222
.font(.body)
2323
.foregroundStyle(.secondary)
2424
case(.connecting, _),(.disconnecting, _):
2525
HStack{
2626
Spacer()
2727
ProgressView(
28-
vpn.state==.connecting?"StartingCoderVPN...":"StoppingCoderVPN..."
28+
vpn.state==.connecting?"StartingCoder Connect...":"StoppingCoder Connect..."
2929
).padding()
3030
Spacer()
3131
}

‎Coder Desktop/Coder DesktopTests/VPNMenuTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct VPNMenuTests {
2424
tryawait sut.inspection.inspect{ viewin
2525
lettoggle=try view.find(ViewType.Toggle.self)
2626
#expect(toggle.isDisabled())
27-
#expect(throws:Never.self){try view.find(text:"Sign in to useCoderVPN")}
27+
#expect(throws:Never.self){try view.find(text:"Sign in to useCoder Desktop")}
2828
#expect(throws:Never.self){try view.find(button:"Sign in")}
2929
}
3030
}

‎Coder Desktop/Coder DesktopTests/VPNStateTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct VPNStateTests {
2626
tryawaitViewHosting.host(view){
2727
tryawait sut.inspection.inspect{ viewin
2828
#expect(throws:Never.self){
29-
try view.find(text:"EnableCoderVPN to see workspaces")
29+
try view.find(text:"EnableCoder Connect to see workspaces")
3030
}
3131
}
3232
}
@@ -39,7 +39,7 @@ struct VPNStateTests {
3939
tryawaitViewHosting.host(view){
4040
tryawait sut.inspection.inspect{ viewin
4141
letprogressView=try view.find(ViewType.ProgressView.self)
42-
#expect(try progressView.labelView().text().string()=="StartingCoderVPN...")
42+
#expect(try progressView.labelView().text().string()=="StartingCoder Connect...")
4343
}
4444
}
4545
}
@@ -51,7 +51,7 @@ struct VPNStateTests {
5151
tryawaitViewHosting.host(view){
5252
tryawait sut.inspection.inspect{ viewin
5353
letprogressView=try view.find(ViewType.ProgressView.self)
54-
#expect(try progressView.labelView().text().string()=="StoppingCoderVPN...")
54+
#expect(try progressView.labelView().text().string()=="StoppingCoder Connect...")
5555
}
5656
}
5757
}

‎pkgbuild/scripts/postinstall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if [ -f "$VPN_MARKER_FILE" ]; then
1616
echo"Restarting CoderVPN..."
1717
echo"Sleeping for 3..."
1818
sleep 3
19-
scutil --nc start"CoderVPN"
19+
scutil --nc start"Coder"
2020
rm"$VPN_MARKER_FILE"
2121
echo"CoderVPN started."
2222
fi

‎pkgbuild/scripts/preinstall

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ if pgrep 'Coder Desktop'; then
1010
fi
1111

1212
echo"Turning off VPN"
13-
if scutil --nc list| grep -q"CoderVPN";then
13+
if scutil --nc list| grep -q"Coder";then
1414
echo"CoderVPN found. Stopping..."
15-
if scutil --nc status"CoderVPN"| grep -q"^Connected$";then
15+
if scutil --nc status"Coder"| grep -q"^Connected$";then
1616
touch$VPN_MARKER_FILE
1717
fi
18-
scutil --nc stop"CoderVPN"
18+
scutil --nc stop"Coder"
1919

2020
# Wait for VPN to be disconnected
21-
while scutil --nc status"CoderVPN"| grep -q"^Connected$";do
21+
while scutil --nc status"Coder"| grep -q"^Connected$";do
2222
echo"Waiting for VPN to disconnect..."
2323
sleep 1
2424
done
25-
while scutil --nc status"CoderVPN"| grep -q"^Disconnecting$";do
25+
while scutil --nc status"Coder"| grep -q"^Disconnecting$";do
2626
echo"Waiting for VPN to complete disconnect..."
2727
sleep 1
2828
done

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp