Skip to content

Commit 61e0a29

Browse files
committed
fix xpc module
1 parent 90e352d commit 61e0a29

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Coder Desktop/Coder Desktop.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@
898898
DYLIB_COMPATIBILITY_VERSION = 1;
899899
DYLIB_CURRENT_VERSION = 1;
900900
EXECUTABLE_PREFIX = lib;
901-
MACOSX_DEPLOYMENT_TARGET = 15.2;
901+
MACOSX_DEPLOYMENT_TARGET = 14.6;
902902
PRODUCT_NAME = "$(TARGET_NAME)";
903903
SKIP_INSTALL = YES;
904904
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -915,7 +915,7 @@
915915
DYLIB_COMPATIBILITY_VERSION = 1;
916916
DYLIB_CURRENT_VERSION = 1;
917917
EXECUTABLE_PREFIX = lib;
918-
MACOSX_DEPLOYMENT_TARGET = 15.2;
918+
MACOSX_DEPLOYMENT_TARGET = 14.6;
919919
PRODUCT_NAME = "$(TARGET_NAME)";
920920
SKIP_INSTALL = YES;
921921
SWIFT_VERSION = 6.0;

Coder Desktop/VPN/Manager.swift

-4
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ actor Manager {
113113
}
114114
}
115115

116-
// TODO: Call via XPC
117116
func startVPN() async throws(ManagerError) {
118117
logger.info("sending start rpc")
119118
guard let tunFd = ptp.tunnelFileDescriptor else {
@@ -137,10 +136,8 @@ actor Manager {
137136
if !startResp.success {
138137
throw .errorResponse(msg: startResp.errorMessage)
139138
}
140-
// TODO: notify app over XPC
141139
}
142140

143-
// TODO: Call via XPC
144141
func stopVPN() async throws(ManagerError) {
145142
logger.info("sending stop rpc")
146143
let resp: Vpn_TunnelMessage
@@ -157,7 +154,6 @@ actor Manager {
157154
if !stopResp.success {
158155
throw .errorResponse(msg: stopResp.errorMessage)
159156
}
160-
// TODO: notify app over XPC
161157
}
162158

163159
// TODO: Call via XPC

0 commit comments

Comments
 (0)