mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-05-15 14:15:55 -06:00
chore: increase version and build numbers for 4.2.0 (#1424)
This commit is contained in:
parent
e038b89f64
commit
b5d0e8e9e8
6 changed files with 14 additions and 14 deletions
|
|
@ -843,7 +843,7 @@
|
|||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.14;
|
||||
MARKETING_VERSION = 4.1.0;
|
||||
MARKETING_VERSION = 4.2.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = me.guillaumeb.MonitorControl;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
|
|
@ -878,7 +878,7 @@
|
|||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.14;
|
||||
MARKETING_VERSION = 4.1.0;
|
||||
MARKETING_VERSION = 4.2.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = me.guillaumeb.MonitorControl;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
<key>CFBundleShortVersionString</key>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>7045</string>
|
||||
<string>7048</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.utilities</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||
displaysPrefsVc!,
|
||||
aboutPrefsVc!,
|
||||
],
|
||||
style: preferencePaneStyle,
|
||||
style: self.preferencePaneStyle,
|
||||
animated: true
|
||||
)
|
||||
}()
|
||||
|
|
|
|||
|
|
@ -40,8 +40,8 @@ class DisplayManager {
|
|||
self.gammaActivityEnforcer.orderFrontRegardless()
|
||||
}
|
||||
|
||||
internal var shades: [CGDirectDisplayID: NSWindow] = [:]
|
||||
internal var shadeGrave: [NSWindow] = []
|
||||
var shades: [CGDirectDisplayID: NSWindow] = [:]
|
||||
var shadeGrave: [NSWindow] = []
|
||||
|
||||
func isDisqualifiedFromShade(_ displayID: CGDirectDisplayID) -> Bool {
|
||||
if CGDisplayIsInHWMirrorSet(displayID) != 0 || CGDisplayIsInMirrorSet(displayID) != 0 {
|
||||
|
|
@ -61,7 +61,7 @@ class DisplayManager {
|
|||
return false
|
||||
}
|
||||
|
||||
internal func createShadeOnDisplay(displayID: CGDirectDisplayID) -> NSWindow? {
|
||||
func createShadeOnDisplay(displayID: CGDirectDisplayID) -> NSWindow? {
|
||||
if let screen = DisplayManager.getByDisplayID(displayID: displayID) {
|
||||
let shade = NSWindow(contentRect: .init(origin: NSPoint(x: 0, y: 0), size: .init(width: 10, height: 1)), styleMask: [], backing: .buffered, defer: false)
|
||||
shade.title = "Monitor Control Window Shade for Display " + String(displayID)
|
||||
|
|
|
|||
|
|
@ -37,22 +37,22 @@ class KeyboardShortcutsManager {
|
|||
self.mute()
|
||||
}
|
||||
KeyboardShortcuts.onKeyUp(for: .brightnessUp) { [self] in
|
||||
disengage()
|
||||
self.disengage()
|
||||
}
|
||||
KeyboardShortcuts.onKeyUp(for: .brightnessDown) { [self] in
|
||||
disengage()
|
||||
self.disengage()
|
||||
}
|
||||
KeyboardShortcuts.onKeyUp(for: .contrastUp) { [self] in
|
||||
disengage()
|
||||
self.disengage()
|
||||
}
|
||||
KeyboardShortcuts.onKeyUp(for: .contrastDown) { [self] in
|
||||
disengage()
|
||||
self.disengage()
|
||||
}
|
||||
KeyboardShortcuts.onKeyUp(for: .volumeUp) { [self] in
|
||||
disengage()
|
||||
self.disengage()
|
||||
}
|
||||
KeyboardShortcuts.onKeyUp(for: .volumeDown) { [self] in
|
||||
disengage()
|
||||
self.disengage()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
<key>CFBundleShortVersionString</key>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>7036</string>
|
||||
<string>7048</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.utilities</string>
|
||||
<key>LSBackgroundOnly</key>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue