Skip to content

Commit

Permalink
Version 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
soffes committed Sep 27, 2019
1 parent dfc30f2 commit c136627
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions HotKey.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@
INFOPLIST_FILE = "$(SRCROOT)/Support/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 0.1.3;
PRODUCT_BUNDLE_IDENTIFIER = com.samsoffes.HotKey;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand All @@ -547,6 +548,7 @@
INFOPLIST_FILE = "$(SRCROOT)/Support/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 0.1.3;
PRODUCT_BUNDLE_IDENTIFIER = com.samsoffes.HotKey;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down
8 changes: 4 additions & 4 deletions Sources/HotKey/KeyCombo+System.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ extension KeyCombo {
/// All system key combos
///
/// - returns: array of key combos
static func systemKeyCombos() -> [KeyCombo] {
public static func systemKeyCombos() -> [KeyCombo] {
var unmanagedGlobalHotkeys: Unmanaged<CFArray>?
guard CopySymbolicHotKeys(&unmanagedGlobalHotkeys) == noErr,
let globalHotkeys = unmanagedGlobalHotkeys?.takeRetainedValue() else
Expand Down Expand Up @@ -33,7 +33,7 @@ extension KeyCombo {
/// All key combos in the application’s main window
///
/// - returns: array of key combos
static func mainMenuKeyCombos() -> [KeyCombo] {
public static func mainMenuKeyCombos() -> [KeyCombo] {
guard let menu = NSApp.mainMenu else {
return []
}
Expand All @@ -46,7 +46,7 @@ extension KeyCombo {
/// - parameter menu: menu to search
///
/// - returns: array of key combos
static func keyCombos(in menu: NSMenu) -> [KeyCombo] {
public static func keyCombos(in menu: NSMenu) -> [KeyCombo] {
var keyCombos = [KeyCombo]()

for item in menu.items {
Expand All @@ -65,7 +65,7 @@ extension KeyCombo {
/// Standard application key combos
///
/// - returns: array of key combos
static func standardKeyCombos() -> [KeyCombo] {
public static func standardKeyCombos() -> [KeyCombo] {
return [
// Application
KeyCombo(key: .comma, modifiers: .command),
Expand Down
2 changes: 1 addition & 1 deletion Support/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.1.2</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
Expand Down

0 comments on commit c136627

Please sign in to comment.