chore: increase version and build numbers for 4.2.0 (#1424)

This commit is contained in:
Joni Van Roost 2023-09-09 15:58:32 +02:00 committed by GitHub
parent e038b89f64
commit b5d0e8e9e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 14 deletions

View file

@ -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 = "";

View file

@ -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>

View file

@ -41,7 +41,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
displaysPrefsVc!,
aboutPrefsVc!,
],
style: preferencePaneStyle,
style: self.preferencePaneStyle,
animated: true
)
}()

View file

@ -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)

View file

@ -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()
}
}

View file

@ -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>