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

Commit823c11b

Browse files
committed
rename icon
1 parentd6109e5 commit823c11b

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

‎Coder-Desktop/Coder-Desktop/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<key>CFBundleTypeRole</key>
99
<string>Editor</string>
1010
<key>CFBundleURLIconFile</key>
11-
<string>1024</string>
11+
<string>1024Icon</string>
1212
<key>CFBundleURLName</key>
1313
<string>com.coder.Coder-Desktop</string>
1414
<key>CFBundleURLSchemes</key>
File renamed without changes.

‎Coder-Desktop/VPNLib/CoderRouter.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ public struct CoderRouter: ParserPrinter {
77

88
publicvarbody:someParserPrinter<URLRequestData,CoderRoute>{
99
Route(.case(CoderRoute.open(workspace:agent:route:))){
10+
Scheme("coder")
1011
// v0/open/ws/<workspace>/agent/<agent>/<openType>
1112
Path{"v0";"open";"ws";Parse(.string);"agent";Parse(.string)}
1213
openRouter

‎Coder-Desktop/VPNLibTests/CoderRouterTests.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ struct CoderRouterTests {
8787
expectedRoute:nil,
8888
description:"Missing agent segment"
8989
),
90+
RouteTestCase(
91+
urlString:"http://coder.example.com/v0/open/ws/workspace-123/agent/agent-456",
92+
expectedRoute:nil,
93+
description:"Wrong scheme"
94+
),
9095
])
9196
func testRdpRoutes(testCase:RouteTestCase)throws{
9297
leturl=URL(string: testCase.urlString)!

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp