From fe0eee612c0d347c0ffed59ddf61e58829109a8c Mon Sep 17 00:00:00 2001 From: Shx Guo Date: Sun, 13 Aug 2023 16:18:44 +0800 Subject: [PATCH 1/4] Fix that command w is not closing tab --- Core/Sources/SuggestionWidget/ChatWindowView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Sources/SuggestionWidget/ChatWindowView.swift b/Core/Sources/SuggestionWidget/ChatWindowView.swift index f64072c5..ff8f2f72 100644 --- a/Core/Sources/SuggestionWidget/ChatWindowView.swift +++ b/Core/Sources/SuggestionWidget/ChatWindowView.swift @@ -114,7 +114,7 @@ struct ChatTitleBar: View { EmptyView() } .opacity(0) - .keyboardShortcut("W", modifiers: [.command]) + .keyboardShortcut("w", modifiers: [.command]) Spacer() } From 1401a6dc0d4de4f50a17b57d76ada31f7571a037 Mon Sep 17 00:00:00 2001 From: Shx Guo Date: Sun, 13 Aug 2023 16:35:57 +0800 Subject: [PATCH 2/4] Fix that the project can't build without the submodule --- Core/Package.swift | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Core/Package.swift b/Core/Package.swift index b0392ee9..73e215ec 100644 --- a/Core/Package.swift +++ b/Core/Package.swift @@ -269,7 +269,7 @@ let package = Package( name: "PlusFeatureFlag", dependencies: [ ].pro([ - "LicenseManagement" + "LicenseManagement", ]) ), @@ -398,10 +398,18 @@ import Foundation func isProIncluded(file: StaticString = #file) -> Bool { let filePath = "\(file)" - let url = URL(fileURLWithPath: filePath) + let fileURL = URL(fileURLWithPath: filePath) + let rootURL = fileURL .deletingLastPathComponent() .deletingLastPathComponent() - .appendingPathComponent("Pro/Package.swift") - return FileManager.default.fileExists(atPath: url.path) + let folderURL = rootURL.appendingPathComponent("Pro") + if !FileManager.default.fileExists(atPath: folderURL.path) { + return false + } + let packageManifestURL = folderURL.appendingPathComponent("Package.swift") + if !FileManager.default.fileExists(atPath: packageManifestURL.path) { + return false + } + return true } From f6d7a86e1e27bbf1e2e22c6d659385026e082e35 Mon Sep 17 00:00:00 2001 From: Shx Guo Date: Sun, 13 Aug 2023 16:44:40 +0800 Subject: [PATCH 3/4] Bump version to 0.21.1 --- Version.xcconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Version.xcconfig b/Version.xcconfig index 99817aa1..ae69d64e 100644 --- a/Version.xcconfig +++ b/Version.xcconfig @@ -1,2 +1,2 @@ -APP_VERSION = 0.21.0 -APP_BUILD = 220 +APP_VERSION = 0.21.1 +APP_BUILD = 221 From 9be5fb62c0c29f65263f43c60e5d71587b00b774 Mon Sep 17 00:00:00 2001 From: Shx Guo Date: Sun, 13 Aug 2023 17:05:10 +0800 Subject: [PATCH 4/4] Update appcast.xml --- appcast.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/appcast.xml b/appcast.xml index fb20d4a5..37a7e2d0 100644 --- a/appcast.xml +++ b/appcast.xml @@ -3,6 +3,18 @@ Copilot for Xcode + + 0.21.1 + Sun, 13 Aug 2023 17:02:38 +0800 + 221 + 0.21.1 + 12.0 + + https://github.com/intitni/CopilotForXcode/releases/tag/0.21.1 + + + + 0.21.0 Wed, 09 Aug 2023 15:45:24 +0800