From a3ea412227fc52126bf81d23f07dcf204a71578c Mon Sep 17 00:00:00 2001
From: waydabber <37590873+waydabber@users.noreply.github.com>
Date: Wed, 11 Aug 2021 19:24:33 +0200
Subject: [PATCH] Minor bugfix
---
MonitorControl/AppDelegate.swift | 2 ++
MonitorControl/Info.plist | 2 +-
MonitorControlHelper/Info.plist | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/MonitorControl/AppDelegate.swift b/MonitorControl/AppDelegate.swift
index 4be832c..d6b210f 100644
--- a/MonitorControl/AppDelegate.swift
+++ b/MonitorControl/AppDelegate.swift
@@ -211,6 +211,8 @@ class AppDelegate: NSObject, NSApplicationDelegate {
DisplayManager.shared.addDisplay(display: display)
}
if !firstrun {
+ DisplayManager.shared.resetSwBrightness()
+ } else {
DisplayManager.shared.restoreSwBrightness()
}
self.updateAVServices()
diff --git a/MonitorControl/Info.plist b/MonitorControl/Info.plist
index 82f664d..d11fb5f 100644
--- a/MonitorControl/Info.plist
+++ b/MonitorControl/Info.plist
@@ -19,7 +19,7 @@
CFBundleShortVersionString
$(MARKETING_VERSION)
CFBundleVersion
- 1832
+ 1833
LSApplicationCategoryType
public.app-category.utilities
LSMinimumSystemVersion
diff --git a/MonitorControlHelper/Info.plist b/MonitorControlHelper/Info.plist
index d324d9a..4f1a5f2 100644
--- a/MonitorControlHelper/Info.plist
+++ b/MonitorControlHelper/Info.plist
@@ -19,7 +19,7 @@
CFBundleShortVersionString
$(MARKETING_VERSION)
CFBundleVersion
- 1832
+ 1833
LSApplicationCategoryType
public.app-category.utilities
LSBackgroundOnly