Skip to content

Commit 279f004

Browse files
committed
tests target macos 14.6
1 parent 8b80132 commit 279f004

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Coder Desktop/Coder Desktop.xcodeproj/project.pbxproj

+6-6
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@
832832
DEAD_CODE_STRIPPING = YES;
833833
DEVELOPMENT_TEAM = 4399GN35BJ;
834834
GENERATE_INFOPLIST_FILE = YES;
835-
MACOSX_DEPLOYMENT_TARGET = 15.0;
835+
MACOSX_DEPLOYMENT_TARGET = 14.6;
836836
MARKETING_VERSION = 1.0;
837837
PRODUCT_BUNDLE_IDENTIFIER = "com.coder.Coder-DesktopTests";
838838
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -851,7 +851,7 @@
851851
DEAD_CODE_STRIPPING = YES;
852852
DEVELOPMENT_TEAM = 4399GN35BJ;
853853
GENERATE_INFOPLIST_FILE = YES;
854-
MACOSX_DEPLOYMENT_TARGET = 15.0;
854+
MACOSX_DEPLOYMENT_TARGET = 14.6;
855855
MARKETING_VERSION = 1.0;
856856
PRODUCT_BUNDLE_IDENTIFIER = "com.coder.Coder-DesktopTests";
857857
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -869,7 +869,7 @@
869869
DEAD_CODE_STRIPPING = YES;
870870
DEVELOPMENT_TEAM = 4399GN35BJ;
871871
GENERATE_INFOPLIST_FILE = YES;
872-
MACOSX_DEPLOYMENT_TARGET = 15.0;
872+
MACOSX_DEPLOYMENT_TARGET = 14.6;
873873
MARKETING_VERSION = 1.0;
874874
PRODUCT_BUNDLE_IDENTIFIER = "com.coder.Coder-DesktopUITests";
875875
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -887,7 +887,7 @@
887887
DEAD_CODE_STRIPPING = YES;
888888
DEVELOPMENT_TEAM = 4399GN35BJ;
889889
GENERATE_INFOPLIST_FILE = YES;
890-
MACOSX_DEPLOYMENT_TARGET = 15.0;
890+
MACOSX_DEPLOYMENT_TARGET = 14.6;
891891
MARKETING_VERSION = 1.0;
892892
PRODUCT_BUNDLE_IDENTIFIER = "com.coder.Coder-DesktopUITests";
893893
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1038,7 +1038,7 @@
10381038
CURRENT_PROJECT_VERSION = 1;
10391039
DEVELOPMENT_TEAM = 4399GN35BJ;
10401040
GENERATE_INFOPLIST_FILE = YES;
1041-
MACOSX_DEPLOYMENT_TARGET = 15.0;
1041+
MACOSX_DEPLOYMENT_TARGET = 14.6;
10421042
MARKETING_VERSION = 1.0;
10431043
PRODUCT_BUNDLE_IDENTIFIER = "com.coder.Coder-Desktop.VPNLibTests";
10441044
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1055,7 +1055,7 @@
10551055
CURRENT_PROJECT_VERSION = 1;
10561056
DEVELOPMENT_TEAM = 4399GN35BJ;
10571057
GENERATE_INFOPLIST_FILE = YES;
1058-
MACOSX_DEPLOYMENT_TARGET = 15.0;
1058+
MACOSX_DEPLOYMENT_TARGET = 14.6;
10591059
MARKETING_VERSION = 1.0;
10601060
PRODUCT_BUNDLE_IDENTIFIER = "com.coder.Coder-Desktop.VPNLibTests";
10611061
PRODUCT_NAME = "$(TARGET_NAME)";

Coder Desktop/VPN/Manager.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ actor Manager {
103103
}
104104

105105
// TODO: Call via XPC
106-
func startVPN(apiToken: String, server: URL) async throws(ManagerError) {
106+
func startVPN() async throws(ManagerError) {
107107
logger.info("sending start rpc")
108108
guard let tunFd = ptp.tunnelFileDescriptor else {
109109
throw .noTunnelFileDescriptor
@@ -113,8 +113,8 @@ actor Manager {
113113
resp = try await speaker.unaryRPC(.with { msg in
114114
msg.start = .with { req in
115115
req.tunnelFileDescriptor = tunFd
116-
req.apiToken = apiToken
117-
req.coderURL = server.absoluteString
116+
req.apiToken = cfg.apiToken
117+
req.coderURL = cfg.serverUrl.absoluteString
118118
}
119119
})
120120
} catch {

0 commit comments

Comments
 (0)