diff --git a/Buildio.xcodeproj/project.pbxproj b/Buildio.xcodeproj/project.pbxproj index 4c7303d..7e58b36 100644 --- a/Buildio.xcodeproj/project.pbxproj +++ b/Buildio.xcodeproj/project.pbxproj @@ -8,15 +8,8 @@ /* Begin PBXBuildFile section */ 3F17BABC27AC449F005CA881 /* BuildioUI in Frameworks */ = {isa = PBXBuildFile; productRef = 3F17BABB27AC449F005CA881 /* BuildioUI */; }; - 3F1AC91D27A9A26700DB3BB6 /* icon@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 3F1AC91C27A9A26700DB3BB6 /* icon@3x.png */; }; 3F47282227A9DDF000C4CD88 /* app_icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 3F47282127A9DDF000C4CD88 /* app_icon.png */; }; 3F7063252750F6130028150F /* BuildioApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F7063242750F6130028150F /* BuildioApp.swift */; }; - 3F722AEA27AD72580032289A /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F1AC92227A9D7D500DB3BB6 /* SwiftUI.framework */; }; - 3F722AF127AD8A480032289A /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F722AF027AD8A480032289A /* AppKit.framework */; }; - 3F722AF627ADA73A0032289A /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F722AF527ADA73A0032289A /* Cocoa.framework */; }; - 3F9C2D6627A997A2005D90DF /* MacStatusBarPluginProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F9C2D6527A997A2005D90DF /* MacStatusBarPluginProtocol.swift */; }; - 3F9C2D6727A997A2005D90DF /* MacStatusBarPluginProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F9C2D6527A997A2005D90DF /* MacStatusBarPluginProtocol.swift */; }; - 3F9C2D6927A99800005D90DF /* MacStatusBarPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F9C2D6827A99800005D90DF /* MacStatusBarPlugin.swift */; }; 3F9C2D6B27A99878005D90DF /* BuildioUIAppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F9C2D6A27A99878005D90DF /* BuildioUIAppDelegate.swift */; }; 3FC502202750FF6C005BC8F3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3FC5021F2750FF6C005BC8F3 /* Assets.xcassets */; }; /* End PBXBuildFile section */ @@ -36,17 +29,12 @@ /* Begin PBXFileReference section */ 3F17BABA27AC4487005CA881 /* BuildioUI */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = BuildioUI; path = Modules/BuildioUI; sourceTree = ""; }; - 3F1AC91C27A9A26700DB3BB6 /* icon@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "icon@3x.png"; sourceTree = ""; }; 3F1AC92227A9D7D500DB3BB6 /* SwiftUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SwiftUI.framework; path = System/Library/Frameworks/SwiftUI.framework; sourceTree = SDKROOT; }; 3F3295842735A623001994B0 /* Buildio (iOS).entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Buildio (iOS).entitlements"; sourceTree = ""; }; 3F47282127A9DDF000C4CD88 /* app_icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = app_icon.png; sourceTree = ""; }; 3F7063242750F6130028150F /* BuildioApp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BuildioApp.swift; sourceTree = ""; }; 3F722AF027AD8A480032289A /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; 3F722AF527ADA73A0032289A /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; - 3F9C2D5E27A99772005D90DF /* MacStatusBarPlugin.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MacStatusBarPlugin.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; - 3F9C2D6427A997A1005D90DF /* MacStatusBarPlugin-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "MacStatusBarPlugin-Bridging-Header.h"; sourceTree = ""; }; - 3F9C2D6527A997A2005D90DF /* MacStatusBarPluginProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MacStatusBarPluginProtocol.swift; sourceTree = ""; }; - 3F9C2D6827A99800005D90DF /* MacStatusBarPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MacStatusBarPlugin.swift; sourceTree = ""; }; 3F9C2D6A27A99878005D90DF /* BuildioUIAppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BuildioUIAppDelegate.swift; sourceTree = ""; }; 3FC5021F2750FF6C005BC8F3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 3FD8FDBF2731F78C0060BDF4 /* Buildio.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Buildio.plist; sourceTree = ""; }; @@ -54,16 +42,6 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 3F9C2D5B27A99772005D90DF /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3F722AEA27AD72580032289A /* SwiftUI.framework in Frameworks */, - 3F722AF127AD8A480032289A /* AppKit.framework in Frameworks */, - 3F722AF627ADA73A0032289A /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 3FE7B54827072C1E00A6D8E1 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -104,17 +82,6 @@ path = Shared; sourceTree = ""; }; - 3F9C2D6327A99791005D90DF /* MacStatusBarPlugin */ = { - isa = PBXGroup; - children = ( - 3F9C2D6527A997A2005D90DF /* MacStatusBarPluginProtocol.swift */, - 3F9C2D6427A997A1005D90DF /* MacStatusBarPlugin-Bridging-Header.h */, - 3F9C2D6827A99800005D90DF /* MacStatusBarPlugin.swift */, - 3F1AC91C27A9A26700DB3BB6 /* icon@3x.png */, - ); - path = MacStatusBarPlugin; - sourceTree = ""; - }; 3FD8FDB52731C44F0060BDF4 /* Recovered References */ = { isa = PBXGroup; children = ( @@ -125,7 +92,6 @@ 3FE7B53E27072C1B00A6D8E1 = { isa = PBXGroup; children = ( - 3F9C2D6327A99791005D90DF /* MacStatusBarPlugin */, 3F7063232750F6130028150F /* Shared */, 3F3295842735A623001994B0 /* Buildio (iOS).entitlements */, 3FD8FDBF2731F78C0060BDF4 /* Buildio.plist */, @@ -140,7 +106,6 @@ isa = PBXGroup; children = ( 3FE7B54B27072C1E00A6D8E1 /* Buildio.app */, - 3F9C2D5E27A99772005D90DF /* MacStatusBarPlugin.bundle */, ); name = Products; sourceTree = ""; @@ -148,25 +113,6 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 3F9C2D5D27A99772005D90DF /* MacStatusBarPlugin */ = { - isa = PBXNativeTarget; - buildConfigurationList = 3F9C2D6227A99772005D90DF /* Build configuration list for PBXNativeTarget "MacStatusBarPlugin" */; - buildPhases = ( - 3F9C2D5A27A99772005D90DF /* Sources */, - 3F9C2D5B27A99772005D90DF /* Frameworks */, - 3F9C2D5C27A99772005D90DF /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = MacStatusBarPlugin; - packageProductDependencies = ( - ); - productName = MacStatusBarPlugin; - productReference = 3F9C2D5E27A99772005D90DF /* MacStatusBarPlugin.bundle */; - productType = "com.apple.product-type.bundle"; - }; 3FE7B54A27072C1E00A6D8E1 /* Buildio */ = { isa = PBXNativeTarget; buildConfigurationList = 3FE7B55C27072C1E00A6D8E1 /* Build configuration list for PBXNativeTarget "Buildio" */; @@ -199,10 +145,6 @@ LastSwiftUpdateCheck = 1300; LastUpgradeCheck = 1300; TargetAttributes = { - 3F9C2D5D27A99772005D90DF = { - CreatedOnToolsVersion = 13.2.1; - LastSwiftMigration = 1320; - }; 3FE7B54A27072C1E00A6D8E1 = { CreatedOnToolsVersion = 13.0; }; @@ -224,20 +166,11 @@ projectRoot = ""; targets = ( 3FE7B54A27072C1E00A6D8E1 /* Buildio */, - 3F9C2D5D27A99772005D90DF /* MacStatusBarPlugin */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 3F9C2D5C27A99772005D90DF /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3F1AC91D27A9A26700DB3BB6 /* icon@3x.png in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 3FE7B54927072C1E00A6D8E1 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -271,20 +204,10 @@ /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ - 3F9C2D5A27A99772005D90DF /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3F9C2D6927A99800005D90DF /* MacStatusBarPlugin.swift in Sources */, - 3F9C2D6727A997A2005D90DF /* MacStatusBarPluginProtocol.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 3FE7B54727072C1E00A6D8E1 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 3F9C2D6627A997A2005D90DF /* MacStatusBarPluginProtocol.swift in Sources */, 3F7063252750F6130028150F /* BuildioApp.swift in Sources */, 3F9C2D6B27A99878005D90DF /* BuildioUIAppDelegate.swift in Sources */, ); @@ -387,94 +310,6 @@ }; name = AdHoc; }; - 3F9C2D5F27A99772005D90DF /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = 6C4646EB2U; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_NSHumanReadableCopyright = ""; - INFOPLIST_KEY_NSPrincipalClass = ""; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.sergeyk.MacStatusBarPlugin; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_OBJC_BRIDGING_HEADER = "MacStatusBarPlugin/MacStatusBarPlugin-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - WRAPPER_EXTENSION = bundle; - }; - name = Debug; - }; - 3F9C2D6027A99772005D90DF /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = 6C4646EB2U; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_NSHumanReadableCopyright = ""; - INFOPLIST_KEY_NSPrincipalClass = ""; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.sergeyk.MacStatusBarPlugin; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_OBJC_BRIDGING_HEADER = "MacStatusBarPlugin/MacStatusBarPlugin-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - WRAPPER_EXTENSION = bundle; - }; - name = Release; - }; - 3F9C2D6127A99772005D90DF /* AdHoc */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = 6C4646EB2U; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_NSHumanReadableCopyright = ""; - INFOPLIST_KEY_NSPrincipalClass = ""; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.sergeyk.MacStatusBarPlugin; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_OBJC_BRIDGING_HEADER = "MacStatusBarPlugin/MacStatusBarPlugin-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - WRAPPER_EXTENSION = bundle; - }; - name = AdHoc; - }; 3FE7B55A27072C1E00A6D8E1 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -671,16 +506,6 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 3F9C2D6227A99772005D90DF /* Build configuration list for PBXNativeTarget "MacStatusBarPlugin" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3F9C2D5F27A99772005D90DF /* Debug */, - 3F9C2D6027A99772005D90DF /* Release */, - 3F9C2D6127A99772005D90DF /* AdHoc */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; 3FE7B54227072C1B00A6D8E1 /* Build configuration list for PBXProject "Buildio" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/MacStatusBarPlugin/MacStatusBarPlugin-Bridging-Header.h b/MacStatusBarPlugin/MacStatusBarPlugin-Bridging-Header.h deleted file mode 100644 index 2544132..0000000 --- a/MacStatusBarPlugin/MacStatusBarPlugin-Bridging-Header.h +++ /dev/null @@ -1,5 +0,0 @@ -// -// Use this file to import your target's public headers that you would like to expose to Swift. -// - -#import diff --git a/MacStatusBarPlugin/MacStatusBarPlugin.swift b/MacStatusBarPlugin/MacStatusBarPlugin.swift deleted file mode 100644 index ac69427..0000000 --- a/MacStatusBarPlugin/MacStatusBarPlugin.swift +++ /dev/null @@ -1,70 +0,0 @@ -// -// MacStatusBarPlugin.swift -// MacStatusBarPlugin -// -// Created by Sergey Khliustin on 01.02.2022. -// - -import Foundation -import AppKit -import SwiftUI -import Cocoa - -final class MacStatusBarPlugin: NSObject, MacStatusBarPluginProtocol { - var statusItem: NSStatusItem! - var actionHandler: ((MacStatusBarPluginActions, Any?, Any?) -> Void)! - var popover: NSPopover! -// var controller: NSViewController! - var view: Any! - - required convenience init(_ actionHandler: @escaping (MacStatusBarPluginActions, Any?, Any?) -> Void) { - self.init() - self.actionHandler = actionHandler - } - - required override init() { - super.init() - } - - func setup() { - statusItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength) - if let image = Bundle(for: Self.self).image(forResource: "icon") { - statusItem.button?.image = image - statusItem.button?.target = self - statusItem.button?.action = #selector(showPopover) - } -// setupMenus() - } - - @objc private func showPopover() { - if let button = statusItem.button { - actionHandler(.newWindow, button.bounds, button) - } - return - popover = NSPopover() - let hosting = NSHostingController(rootView: Text("")) - popover.contentViewController = hosting - popover.behavior = .transient - popover.animates = true - if let button = statusItem.button { - popover.show(relativeTo: button.bounds, of: button, preferredEdge: .maxY) - } - } - - func setupMenus() { - let menu = NSMenu() - menu.autoenablesItems = false - - let one = NSMenuItem(title: "New window", action: #selector(didTapOne), keyEquivalent: "n") - one.target = self - menu.addItem(one) - menu.addItem(NSMenuItem.separator()) - menu.addItem(NSMenuItem(title: "Quit", action: #selector(NSApplication.terminate(_:)), keyEquivalent: "q")) - - statusItem.menu = menu - } - - @objc private func didTapOne() { - - } -} diff --git a/MacStatusBarPlugin/MacStatusBarPluginProtocol.swift b/MacStatusBarPlugin/MacStatusBarPluginProtocol.swift deleted file mode 100644 index 4b22303..0000000 --- a/MacStatusBarPlugin/MacStatusBarPluginProtocol.swift +++ /dev/null @@ -1,22 +0,0 @@ -// -// MacStatusBarPluginProtocol.swift -// Buildio -// -// Created by Sergey Khliustin on 01.02.2022. -// - -import Foundation -import SwiftUI - -@objc(MacStatusBarPluginProtocol) -protocol MacStatusBarPluginProtocol: NSObjectProtocol { - var view: Any! { get set } - init(_ actionHandler: @escaping (MacStatusBarPluginActions, Any?, Any?) -> Void) - - func setup() -} - -@objc(MacStatusBarPluginActions) -enum MacStatusBarPluginActions: Int { - case newWindow -} diff --git a/MacStatusBarPlugin/icon@3x.png b/MacStatusBarPlugin/icon@3x.png deleted file mode 100644 index 252dc11..0000000 Binary files a/MacStatusBarPlugin/icon@3x.png and /dev/null differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/100.png b/Shared/Assets.xcassets/AppIcon.appiconset/100.png index 9814547..702b81e 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/100.png and b/Shared/Assets.xcassets/AppIcon.appiconset/100.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/1024.png b/Shared/Assets.xcassets/AppIcon.appiconset/1024.png index 6205ec9..d83ea4b 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/1024.png and b/Shared/Assets.xcassets/AppIcon.appiconset/1024.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/114.png b/Shared/Assets.xcassets/AppIcon.appiconset/114.png index 642811e..59e0953 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/114.png and b/Shared/Assets.xcassets/AppIcon.appiconset/114.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/120.png b/Shared/Assets.xcassets/AppIcon.appiconset/120.png index 6a0a749..b94a361 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/120.png and b/Shared/Assets.xcassets/AppIcon.appiconset/120.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/144.png b/Shared/Assets.xcassets/AppIcon.appiconset/144.png index 2d08bbf..43e80b7 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/144.png and b/Shared/Assets.xcassets/AppIcon.appiconset/144.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/152.png b/Shared/Assets.xcassets/AppIcon.appiconset/152.png index 0b72bb0..f36bb4f 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/152.png and b/Shared/Assets.xcassets/AppIcon.appiconset/152.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/167.png b/Shared/Assets.xcassets/AppIcon.appiconset/167.png index 135aec3..73e4c5c 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/167.png and b/Shared/Assets.xcassets/AppIcon.appiconset/167.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/180.png b/Shared/Assets.xcassets/AppIcon.appiconset/180.png index e8f29bc..a85c39d 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/180.png and b/Shared/Assets.xcassets/AppIcon.appiconset/180.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/20.png b/Shared/Assets.xcassets/AppIcon.appiconset/20.png index 53ecdb1..057ca9b 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/20.png and b/Shared/Assets.xcassets/AppIcon.appiconset/20.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/29.png b/Shared/Assets.xcassets/AppIcon.appiconset/29.png index 5919f39..555a768 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/29.png and b/Shared/Assets.xcassets/AppIcon.appiconset/29.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/40.png b/Shared/Assets.xcassets/AppIcon.appiconset/40.png index df04f3b..c036b40 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/40.png and b/Shared/Assets.xcassets/AppIcon.appiconset/40.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/50.png b/Shared/Assets.xcassets/AppIcon.appiconset/50.png index 0c87c4b..92556a4 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/50.png and b/Shared/Assets.xcassets/AppIcon.appiconset/50.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/57.png b/Shared/Assets.xcassets/AppIcon.appiconset/57.png index 0b01f63..8c517b2 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/57.png and b/Shared/Assets.xcassets/AppIcon.appiconset/57.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/58.png b/Shared/Assets.xcassets/AppIcon.appiconset/58.png index 0fae864..801c9d6 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/58.png and b/Shared/Assets.xcassets/AppIcon.appiconset/58.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/60.png b/Shared/Assets.xcassets/AppIcon.appiconset/60.png index 252dc11..53f3b1b 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/60.png and b/Shared/Assets.xcassets/AppIcon.appiconset/60.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/72.png b/Shared/Assets.xcassets/AppIcon.appiconset/72.png index 4298c30..aa8a7db 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/72.png and b/Shared/Assets.xcassets/AppIcon.appiconset/72.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/76.png b/Shared/Assets.xcassets/AppIcon.appiconset/76.png index d4ea6d7..bfcb407 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/76.png and b/Shared/Assets.xcassets/AppIcon.appiconset/76.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/80.png b/Shared/Assets.xcassets/AppIcon.appiconset/80.png index e33fe5a..20ca14f 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/80.png and b/Shared/Assets.xcassets/AppIcon.appiconset/80.png differ diff --git a/Shared/Assets.xcassets/AppIcon.appiconset/87.png b/Shared/Assets.xcassets/AppIcon.appiconset/87.png index abb3f17..1174412 100644 Binary files a/Shared/Assets.xcassets/AppIcon.appiconset/87.png and b/Shared/Assets.xcassets/AppIcon.appiconset/87.png differ diff --git a/Shared/BuildioUIAppDelegate.swift b/Shared/BuildioUIAppDelegate.swift index 5d5f6f9..2bd3412 100644 --- a/Shared/BuildioUIAppDelegate.swift +++ b/Shared/BuildioUIAppDelegate.swift @@ -12,7 +12,6 @@ import UserNotifications import BuildioLogic public final class BuildioUIAppDelegate: NSObject, UIApplicationDelegate { - var statusBarPlugin: MacStatusBarPluginProtocol? public func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool { #if targetEnvironment(macCatalyst) @@ -27,26 +26,4 @@ public final class BuildioUIAppDelegate: NSObject, UIApplicationDelegate { return true } - - private func loadPlugin() { - let bundleFileName = "MacStatusBarPlugin.bundle" - guard let bundleURL = Bundle.main.builtInPlugInsURL? - .appendingPathComponent(bundleFileName) else { return } - - guard let bundle = Bundle(url: bundleURL) else { return } - - let className = "MacStatusBarPlugin.MacStatusBarPlugin" - guard let pluginClass = bundle.classNamed(className) as? MacStatusBarPluginProtocol.Type else { return } - - let plugin = pluginClass.init { action, _, _ in - switch action { - case .newWindow: - UIApplication.shared.requestSceneSessionActivation(nil, userActivity: nil, options: nil) { error in - - } - } - } - plugin.setup() - self.statusBarPlugin = plugin - } } diff --git a/Shared/app_icon.png b/Shared/app_icon.png index e8f29bc..a85c39d 100644 Binary files a/Shared/app_icon.png and b/Shared/app_icon.png differ