Skip to content

Commit

Permalink
Copyright date update
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Mazanov <[email protected]>
  • Loading branch information
melonamin committed Jan 1, 2024
1 parent 18b1400 commit 5c5ad1e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SwiftBar/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, SPUStandardUserDriverDelegat
}

func changePresentationType() {
if preferencesWindowController.window?.isVisible != true && repositoryWindowController?.window?.isVisible != true {
if preferencesWindowController.window?.isVisible == false && repositoryWindowController?.window?.isVisible == false {
NSApp.setActivationPolicy(.accessory)
return
}
Expand Down
2 changes: 1 addition & 1 deletion SwiftBar/Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<key>NSCalendarsUsageDescription</key>
<string>Allow SwiftBar to access your Calendar. This is required by one of your plugins.</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright ©2020-2023 Ameba Labs. All rights reserved.</string>
<string>Copyright ©2020-2024 Ameba Labs. All rights reserved.</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSRemindersUsageDescription</key>
Expand Down
2 changes: 0 additions & 2 deletions SwiftBar/main.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import Cocoa

let delegate = AppDelegate()
let menu = AppMenu()
NSApplication.shared.mainMenu = menu
NSApplication.shared.delegate = delegate

_ = NSApplicationMain(CommandLine.argc, CommandLine.unsafeArgv)

0 comments on commit 5c5ad1e

Please sign in to comment.