Skip to content

Commit 8b7db0e

Browse files
author
Hatim EL HASSAK
committed
feat: complete overhaul of Click2Minimize
- Complete renaming of the project from Click2Hide to Click2Minimize - Replaced the simple hide() mechanism with true Accessibility API window minimization - Created and integrated a brand new glossy 3D app icon - Enforced correct macOS Bundle IDs and configurations
1 parent cd2ad73 commit 8b7db0e

File tree

18 files changed

+678
-26
lines changed

18 files changed

+678
-26
lines changed
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
/* Begin PBXFileReference section */
1717
21498BA72D00A20600EE1BF3 /* ContentView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
18-
21B199EF2CFF981C00EA628D /* Click2Hide.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Click2Hide.app; sourceTree = BUILT_PRODUCTS_DIR; };
18+
21B199EF2CFF981C00EA628D /* Click2Minimize.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Click2Minimize.app; sourceTree = BUILT_PRODUCTS_DIR; };
1919
21B199F62CFF981D00EA628D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
20-
21B199FB2CFF981D00EA628D /* Click2Hide.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Click2Hide.entitlements; sourceTree = "<group>"; };
20+
21B199FB2CFF981D00EA628D /* Click2Minimize.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Click2Minimize.entitlements; sourceTree = "<group>"; };
2121
21B19A042CFF9D1300EA628D /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
2222
21B19A082D009C6E00EA628D /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
2323
21E5E2E62D009E7E00B51E70 /* Accessibility.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accessibility.framework; path = System/Library/Frameworks/Accessibility.framework; sourceTree = SDKROOT; };
@@ -38,7 +38,7 @@
3838
21B199E62CFF981C00EA628D = {
3939
isa = PBXGroup;
4040
children = (
41-
21B199F12CFF981C00EA628D /* Click2Hide */,
41+
21B199F12CFF981C00EA628D /* Click2Minimize */,
4242
21B199F02CFF981C00EA628D /* Products */,
4343
21E5E2E52D009E7E00B51E70 /* Frameworks */,
4444
);
@@ -47,21 +47,21 @@
4747
21B199F02CFF981C00EA628D /* Products */ = {
4848
isa = PBXGroup;
4949
children = (
50-
21B199EF2CFF981C00EA628D /* Click2Hide.app */,
50+
21B199EF2CFF981C00EA628D /* Click2Minimize.app */,
5151
);
5252
name = Products;
5353
sourceTree = "<group>";
5454
};
55-
21B199F12CFF981C00EA628D /* Click2Hide */ = {
55+
21B199F12CFF981C00EA628D /* Click2Minimize */ = {
5656
isa = PBXGroup;
5757
children = (
5858
21498BA72D00A20600EE1BF3 /* ContentView.swift */,
5959
21B19A082D009C6E00EA628D /* Info.plist */,
6060
21B19A042CFF9D1300EA628D /* AppDelegate.swift */,
6161
21B199F62CFF981D00EA628D /* Assets.xcassets */,
62-
21B199FB2CFF981D00EA628D /* Click2Hide.entitlements */,
62+
21B199FB2CFF981D00EA628D /* Click2Minimize.entitlements */,
6363
);
64-
path = Click2Hide;
64+
path = Click2Minimize;
6565
sourceTree = "<group>";
6666
};
6767
21E5E2E52D009E7E00B51E70 /* Frameworks */ = {
@@ -75,9 +75,9 @@
7575
/* End PBXGroup section */
7676

7777
/* Begin PBXNativeTarget section */
78-
21B199EE2CFF981C00EA628D /* Click2Hide */ = {
78+
21B199EE2CFF981C00EA628D /* Click2Minimize */ = {
7979
isa = PBXNativeTarget;
80-
buildConfigurationList = 21B199FE2CFF981D00EA628D /* Build configuration list for PBXNativeTarget "Click2Hide" */;
80+
buildConfigurationList = 21B199FE2CFF981D00EA628D /* Build configuration list for PBXNativeTarget "Click2Minimize" */;
8181
buildPhases = (
8282
21B199EB2CFF981C00EA628D /* Sources */,
8383
21B199EC2CFF981C00EA628D /* Frameworks */,
@@ -87,9 +87,9 @@
8787
);
8888
dependencies = (
8989
);
90-
name = Click2Hide;
91-
productName = Click2Hide;
92-
productReference = 21B199EF2CFF981C00EA628D /* Click2Hide.app */;
90+
name = Click2Minimize;
91+
productName = Click2Minimize;
92+
productReference = 21B199EF2CFF981C00EA628D /* Click2Minimize.app */;
9393
productType = "com.apple.product-type.application";
9494
};
9595
/* End PBXNativeTarget section */
@@ -107,7 +107,7 @@
107107
};
108108
};
109109
};
110-
buildConfigurationList = 21B199EA2CFF981C00EA628D /* Build configuration list for PBXProject "Click2Hide" */;
110+
buildConfigurationList = 21B199EA2CFF981C00EA628D /* Build configuration list for PBXProject "Click2Minimize" */;
111111
compatibilityVersion = "Xcode 14.0";
112112
developmentRegion = en;
113113
hasScannedForEncodings = 0;
@@ -120,7 +120,7 @@
120120
projectDirPath = "";
121121
projectRoot = "";
122122
targets = (
123-
21B199EE2CFF981C00EA628D /* Click2Hide */,
123+
21B199EE2CFF981C00EA628D /* Click2Minimize */,
124124
);
125125
};
126126
/* End PBXProject section */
@@ -273,7 +273,7 @@
273273
ARCHS = "$(ARCHS_STANDARD)";
274274
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
275275
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
276-
CODE_SIGN_ENTITLEMENTS = Click2Hide/Click2Hide.entitlements;
276+
CODE_SIGN_ENTITLEMENTS = Click2Minimize/Click2Minimize.entitlements;
277277
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
278278
CODE_SIGN_STYLE = Automatic;
279279
COMBINE_HIDPI_IMAGES = YES;
@@ -283,8 +283,8 @@
283283
ENABLE_HARDENED_RUNTIME = YES;
284284
ENABLE_PREVIEWS = YES;
285285
GENERATE_INFOPLIST_FILE = YES;
286-
INFOPLIST_FILE = Click2Hide/Info.plist;
287-
INFOPLIST_KEY_CFBundleDisplayName = Click2Hide;
286+
INFOPLIST_FILE = Click2Minimize/Info.plist;
287+
INFOPLIST_KEY_CFBundleDisplayName = Click2Minimize;
288288
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
289289
INFOPLIST_KEY_NSHumanReadableCopyright = "";
290290
LD_RUNPATH_SEARCH_PATHS = (
@@ -294,7 +294,7 @@
294294
MACOSX_DEPLOYMENT_TARGET = 13.0;
295295
MARKETING_VERSION = 1.4;
296296
ONLY_ACTIVE_ARCH = YES;
297-
PRODUCT_BUNDLE_IDENTIFIER = com.idemfactor.Click2Hide;
297+
PRODUCT_BUNDLE_IDENTIFIER = com.idemfactor.Click2Minimize;
298298
PRODUCT_NAME = "$(TARGET_NAME)";
299299
SWIFT_EMIT_LOC_STRINGS = YES;
300300
SWIFT_VERSION = 5.0;
@@ -307,7 +307,7 @@
307307
ARCHS = "$(ARCHS_STANDARD)";
308308
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
309309
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
310-
CODE_SIGN_ENTITLEMENTS = Click2Hide/Click2Hide.entitlements;
310+
CODE_SIGN_ENTITLEMENTS = Click2Minimize/Click2Minimize.entitlements;
311311
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
312312
CODE_SIGN_STYLE = Automatic;
313313
COMBINE_HIDPI_IMAGES = YES;
@@ -317,8 +317,8 @@
317317
ENABLE_HARDENED_RUNTIME = YES;
318318
ENABLE_PREVIEWS = YES;
319319
GENERATE_INFOPLIST_FILE = YES;
320-
INFOPLIST_FILE = Click2Hide/Info.plist;
321-
INFOPLIST_KEY_CFBundleDisplayName = Click2Hide;
320+
INFOPLIST_FILE = Click2Minimize/Info.plist;
321+
INFOPLIST_KEY_CFBundleDisplayName = Click2Minimize;
322322
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
323323
INFOPLIST_KEY_NSHumanReadableCopyright = "";
324324
LD_RUNPATH_SEARCH_PATHS = (
@@ -328,7 +328,7 @@
328328
MACOSX_DEPLOYMENT_TARGET = 13.0;
329329
MARKETING_VERSION = 1.4;
330330
ONLY_ACTIVE_ARCH = YES;
331-
PRODUCT_BUNDLE_IDENTIFIER = com.idemfactor.Click2Hide;
331+
PRODUCT_BUNDLE_IDENTIFIER = com.idemfactor.Click2Minimize;
332332
PRODUCT_NAME = "$(TARGET_NAME)";
333333
SWIFT_EMIT_LOC_STRINGS = YES;
334334
SWIFT_VERSION = 5.0;
@@ -338,7 +338,7 @@
338338
/* End XCBuildConfiguration section */
339339

340340
/* Begin XCConfigurationList section */
341-
21B199EA2CFF981C00EA628D /* Build configuration list for PBXProject "Click2Hide" */ = {
341+
21B199EA2CFF981C00EA628D /* Build configuration list for PBXProject "Click2Minimize" */ = {
342342
isa = XCConfigurationList;
343343
buildConfigurations = (
344344
21B199FC2CFF981D00EA628D /* Debug */,
@@ -347,7 +347,7 @@
347347
defaultConfigurationIsVisible = 0;
348348
defaultConfigurationName = Release;
349349
};
350-
21B199FE2CFF981D00EA628D /* Build configuration list for PBXNativeTarget "Click2Hide" */ = {
350+
21B199FE2CFF981D00EA628D /* Build configuration list for PBXNativeTarget "Click2Minimize" */ = {
351351
isa = XCConfigurationList;
352352
buildConfigurations = (
353353
21B199FF2CFF981D00EA628D /* Debug */,

Click2Hide.xcodeproj/project.xcworkspace/contents.xcworkspacedata renamed to Click2Minimize.xcodeproj/project.xcworkspace/contents.xcworkspacedata

File renamed without changes.

Click2Hide.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist renamed to Click2Minimize.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

File renamed without changes.

0 commit comments

Comments
 (0)