From 30b0093a95c90028d2a2bc5b60f6b6df0d73a7c3 Mon Sep 17 00:00:00 2001
From: Istvan T <37590873+waydabber@users.noreply.github.com>
Date: Sun, 17 Oct 2021 11:36:07 +0200
Subject: [PATCH] Delete MonitorControlHelper directory
---
MonitorControlHelper/Info.plist | 34 -------------------
.../MonitorControlHelper.entitlements | 12 -------
MonitorControlHelper/main.swift | 26 --------------
3 files changed, 72 deletions(-)
delete mode 100644 MonitorControlHelper/Info.plist
delete mode 100644 MonitorControlHelper/MonitorControlHelper.entitlements
delete mode 100644 MonitorControlHelper/main.swift
diff --git a/MonitorControlHelper/Info.plist b/MonitorControlHelper/Info.plist
deleted file mode 100644
index 0f1277b..0000000
--- a/MonitorControlHelper/Info.plist
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- $(DEVELOPMENT_LANGUAGE)
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIconFile
-
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- APPL
- CFBundleShortVersionString
- $(MARKETING_VERSION)
- CFBundleVersion
- 6293
- LSApplicationCategoryType
- public.app-category.utilities
- LSBackgroundOnly
-
- LSMinimumSystemVersion
- $(MACOSX_DEPLOYMENT_TARGET)
- NSHumanReadableCopyright
- MIT Licensed. 2018.
- NSPrincipalClass
- NSApplication
-
-
diff --git a/MonitorControlHelper/MonitorControlHelper.entitlements b/MonitorControlHelper/MonitorControlHelper.entitlements
deleted file mode 100644
index ba00d97..0000000
--- a/MonitorControlHelper/MonitorControlHelper.entitlements
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
- com.apple.security.app-sandbox
-
- com.apple.security.cs.allow-jit
-
- com.apple.security.files.user-selected.read-only
-
-
-
diff --git a/MonitorControlHelper/main.swift b/MonitorControlHelper/main.swift
deleted file mode 100644
index 9251541..0000000
--- a/MonitorControlHelper/main.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-import Cocoa
-
-class AppDelegate: NSObject, NSApplicationDelegate {
- func applicationDidFinishLaunching(_: Notification) {
- let mainBundleID = Bundle.main.bundleIdentifier!.replacingOccurrences(of: "Helper", with: "")
-
- let bundlePath = Bundle.main.bundlePath as NSString
-
- guard NSRunningApplication.runningApplications(withBundleIdentifier: mainBundleID).isEmpty else {
- return NSApp.terminate(self)
- }
-
- let pathComponents = bundlePath.pathComponents
- let path = NSString.path(withComponents: Array(pathComponents[0 ..< (pathComponents.count - 4)]))
-
- NSWorkspace.shared.launchApplication(path)
- NSApp.terminate(nil)
- }
-
- func applicationWillTerminate(_: Notification) {}
-}
-
-let app = NSApplication.shared
-let delegate = AppDelegate()
-app.delegate = delegate
-app.run()