Skip to content

Commit 1e35def

Browse files
committed
Update
1 parent 43bfb5c commit 1e35def

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Core/Sources/Environment/Environment.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public enum Environment {
4747
let application = AXUIElementCreateApplication(xcode.processIdentifier)
4848
let focusedWindow = application.focusedWindow
4949
for child in focusedWindow?.children ?? [] {
50-
if child.description.starts(with: "/") {
50+
if child.description.starts(with: "/"), child.description.count > 1 {
5151
let path = child.description
5252
let trimmedNewLine = path.trimmingCharacters(in: .newlines)
5353
var url = URL(fileURLWithPath: trimmedNewLine)

ExtensionService/AppDelegate.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate {
188188
func checkForUpdate() {
189189
guard UserDefaults.shared.bool(forKey: SettingsKey.automaticallyCheckForUpdate)
190190
else { return }
191-
Task {
192-
await UpdateChecker().checkForUpdate()
193-
}
191+
UpdateChecker().checkForUpdate()
194192
}
195193
}
196194

Version.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
APP_VERSION = 0.8.3
2-
APP_BUILD = 44
2+
APP_BUILD = 45

0 commit comments

Comments
 (0)