Skip to content

Commit b5d0e8e

Browse files
authored
chore: increase version and build numbers for 4.2.0 (MonitorControl#1424)
1 parent e038b89 commit b5d0e8e

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

MonitorControl.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@
843843
"@executable_path/../Frameworks",
844844
);
845845
MACOSX_DEPLOYMENT_TARGET = 10.14;
846-
MARKETING_VERSION = 4.1.0;
846+
MARKETING_VERSION = 4.2.0;
847847
PRODUCT_BUNDLE_IDENTIFIER = me.guillaumeb.MonitorControl;
848848
PRODUCT_NAME = "$(TARGET_NAME)";
849849
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -878,7 +878,7 @@
878878
"@executable_path/../Frameworks",
879879
);
880880
MACOSX_DEPLOYMENT_TARGET = 10.14;
881-
MARKETING_VERSION = 4.1.0;
881+
MARKETING_VERSION = 4.2.0;
882882
PRODUCT_BUNDLE_IDENTIFIER = me.guillaumeb.MonitorControl;
883883
PRODUCT_NAME = "$(TARGET_NAME)";
884884
PROVISIONING_PROFILE_SPECIFIER = "";

MonitorControl/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
22-
<string>7045</string>
22+
<string>7048</string>
2323
<key>LSApplicationCategoryType</key>
2424
<string>public.app-category.utilities</string>
2525
<key>LSMinimumSystemVersion</key>

MonitorControl/Support/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
4141
displaysPrefsVc!,
4242
aboutPrefsVc!,
4343
],
44-
style: preferencePaneStyle,
44+
style: self.preferencePaneStyle,
4545
animated: true
4646
)
4747
}()

MonitorControl/Support/DisplayManager.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ class DisplayManager {
4040
self.gammaActivityEnforcer.orderFrontRegardless()
4141
}
4242

43-
internal var shades: [CGDirectDisplayID: NSWindow] = [:]
44-
internal var shadeGrave: [NSWindow] = []
43+
var shades: [CGDirectDisplayID: NSWindow] = [:]
44+
var shadeGrave: [NSWindow] = []
4545

4646
func isDisqualifiedFromShade(_ displayID: CGDirectDisplayID) -> Bool {
4747
if CGDisplayIsInHWMirrorSet(displayID) != 0 || CGDisplayIsInMirrorSet(displayID) != 0 {
@@ -61,7 +61,7 @@ class DisplayManager {
6161
return false
6262
}
6363

64-
internal func createShadeOnDisplay(displayID: CGDirectDisplayID) -> NSWindow? {
64+
func createShadeOnDisplay(displayID: CGDirectDisplayID) -> NSWindow? {
6565
if let screen = DisplayManager.getByDisplayID(displayID: displayID) {
6666
let shade = NSWindow(contentRect: .init(origin: NSPoint(x: 0, y: 0), size: .init(width: 10, height: 1)), styleMask: [], backing: .buffered, defer: false)
6767
shade.title = "Monitor Control Window Shade for Display " + String(displayID)

MonitorControl/Support/KeyboardShortcutsManager.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,22 @@ class KeyboardShortcutsManager {
3737
self.mute()
3838
}
3939
KeyboardShortcuts.onKeyUp(for: .brightnessUp) { [self] in
40-
disengage()
40+
self.disengage()
4141
}
4242
KeyboardShortcuts.onKeyUp(for: .brightnessDown) { [self] in
43-
disengage()
43+
self.disengage()
4444
}
4545
KeyboardShortcuts.onKeyUp(for: .contrastUp) { [self] in
46-
disengage()
46+
self.disengage()
4747
}
4848
KeyboardShortcuts.onKeyUp(for: .contrastDown) { [self] in
49-
disengage()
49+
self.disengage()
5050
}
5151
KeyboardShortcuts.onKeyUp(for: .volumeUp) { [self] in
52-
disengage()
52+
self.disengage()
5353
}
5454
KeyboardShortcuts.onKeyUp(for: .volumeDown) { [self] in
55-
disengage()
55+
self.disengage()
5656
}
5757
}
5858

MonitorControlHelper/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
22-
<string>7036</string>
22+
<string>7048</string>
2323
<key>LSApplicationCategoryType</key>
2424
<string>public.app-category.utilities</string>
2525
<key>LSBackgroundOnly</key>

0 commit comments

Comments
 (0)