diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..59d8164 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +AutoRaise diff --git a/AutoRaise b/AutoRaise deleted file mode 100755 index d219586..0000000 Binary files a/AutoRaise and /dev/null differ diff --git a/AutoRaise.xcodeproj/project.xcworkspace/xcuserdata/lhaeger.xcuserdatad/UserInterfaceState.xcuserstate b/AutoRaise.xcodeproj/project.xcworkspace/xcuserdata/lhaeger.xcuserdatad/UserInterfaceState.xcuserstate index 0b5d704..691f47b 100644 Binary files a/AutoRaise.xcodeproj/project.xcworkspace/xcuserdata/lhaeger.xcuserdatad/UserInterfaceState.xcuserstate and b/AutoRaise.xcodeproj/project.xcworkspace/xcuserdata/lhaeger.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Launcher/AppDelegate.swift b/Launcher/AppDelegate.swift index 2cc4101..521a0bd 100644 --- a/Launcher/AppDelegate.swift +++ b/Launcher/AppDelegate.swift @@ -21,6 +21,14 @@ import CoreServices import Cocoa import Foundation +import AppKit + +class URLButton: NSButton { + override func resetCursorRects() { + super.resetCursorRects() + addCursorRect(bounds, cursor: .pointingHand) + } +} @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate { @@ -33,17 +41,17 @@ class AppDelegate: NSObject, NSApplicationDelegate { @IBOutlet weak var enableWarpButton: NSButton! // About @IBOutlet weak var aboutText: NSTextField! - @IBOutlet weak var homePage: NSButton! + @IBOutlet weak var homePage: URLButton! let appVersionString: String = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as! String let buildNumber: String = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as! String let appAbout = "AutoRaise\n" + - "Version 1.2, 2021-02-07\n\n" + + "Version 1.5, 2021-03-13\n\n" + "©2021 Stefan Post, Lothar Haeger\n" + "Icons made by https://www.flaticon.com/authors/fr" - let homePageUrl = "https://github.com/sbmpost/AutoRaise" + let homePageUrl = "https://github.com/lhaeger/AutoRaise/tree/Launcher" let prefs = UserDefaults.standard diff --git a/Launcher/Base.lproj/MainMenu.xib b/Launcher/Base.lproj/MainMenu.xib index 7d68ef9..744414b 100644 --- a/Launcher/Base.lproj/MainMenu.xib +++ b/Launcher/Base.lproj/MainMenu.xib @@ -683,7 +683,7 @@ - + @@ -701,7 +701,7 @@ - + @@ -710,7 +710,7 @@ -