Skip to content

Commit a2e142b

Browse files
committed
🐛 Fix #9
1 parent a9972fd commit a2e142b

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

GitimojiAutoLaunchHelper/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<string>1.0</string>
2121
<key>CFBundleVersion</key>
2222
<string>$(CURRENT_PROJECT_VERSION)</string>
23+
<key>LSApplicationCategoryType</key>
24+
<string>public.app-category.developer-tools</string>
2325
<key>LSBackgroundOnly</key>
2426
<true/>
2527
<key>LSMinimumSystemVersion</key>

gitimoji.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@
532532
CODE_SIGN_IDENTITY = "Developer ID Application";
533533
CODE_SIGN_STYLE = Manual;
534534
COMBINE_HIDPI_IMAGES = YES;
535-
CURRENT_PROJECT_VERSION = 1;
535+
CURRENT_PROJECT_VERSION = 2;
536536
DEVELOPMENT_ASSET_PATHS = "\"gitimoji/Preview Content\"";
537537
DEVELOPMENT_TEAM = V7ET8TF7ZR;
538538
ENABLE_HARDENED_RUNTIME = YES;
@@ -543,7 +543,7 @@
543543
"@executable_path/../Frameworks",
544544
);
545545
MACOSX_DEPLOYMENT_TARGET = 10.15;
546-
MARKETING_VERSION = 1.2.1;
546+
MARKETING_VERSION = 1.2.2;
547547
PRODUCT_BUNDLE_IDENTIFIER = com.timozacherl.gitimoji;
548548
PRODUCT_NAME = "$(TARGET_NAME)";
549549
PROVISIONING_PROFILE_SPECIFIER = "Gitimoji Web Dist";
@@ -560,7 +560,7 @@
560560
CODE_SIGN_IDENTITY = "Developer ID Application";
561561
CODE_SIGN_STYLE = Manual;
562562
COMBINE_HIDPI_IMAGES = YES;
563-
CURRENT_PROJECT_VERSION = 1;
563+
CURRENT_PROJECT_VERSION = 2;
564564
DEVELOPMENT_ASSET_PATHS = "\"gitimoji/Preview Content\"";
565565
DEVELOPMENT_TEAM = V7ET8TF7ZR;
566566
ENABLE_HARDENED_RUNTIME = YES;
@@ -571,7 +571,7 @@
571571
"@executable_path/../Frameworks",
572572
);
573573
MACOSX_DEPLOYMENT_TARGET = 10.15;
574-
MARKETING_VERSION = 1.2.1;
574+
MARKETING_VERSION = 1.2.2;
575575
PRODUCT_BUNDLE_IDENTIFIER = com.timozacherl.gitimoji;
576576
PRODUCT_NAME = "$(TARGET_NAME)";
577577
PROVISIONING_PROFILE_SPECIFIER = "Gitimoji Web Dist";

gitimoji/ViewModels/SearchVM.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ import ServiceManagement
1212
class SearchVM: ObservableObject {
1313

1414
@Published var searchResults = [Gitmoji]()
15-
@Published var autoLaunchEnabled: Bool = false
15+
@Published var autoLaunchEnabled: Bool = false {
16+
didSet {
17+
toggleAutoLaunch(bool: autoLaunchEnabled)
18+
}
19+
}
1620
@Published var isLoading: Bool = false
1721
@Published var fetchState: FetchState = .stateless
1822
@Published var searchText: String = "" {
@@ -24,7 +28,7 @@ class SearchVM: ObservableObject {
2428
var allGitmojis = [Gitmoji]()
2529
let managedObjectContext = PersistenceController.shared.container.viewContext
2630
let fetchRequest: NSFetchRequest<Gitmoji> = Gitmoji.fetchRequest()
27-
var helperBundleName = "com.timozacherl.GitmojiAutoLaunchHelper"
31+
var helperBundleName = "com.timozacherl.GitimojiAutoLaunchHelper"
2832

2933
init() {
3034
let foundHelper = NSWorkspace.shared.runningApplications.contains {

0 commit comments

Comments
 (0)