Skip to content

Commit 03d2dbc

Browse files
committed
Release v1.5
2 parents 364f44b + 0f7072d commit 03d2dbc

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

Hidden Bar.xcodeproj/project.pbxproj

+4-2
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@
534534
CODE_SIGN_IDENTITY = "Mac Developer";
535535
CODE_SIGN_STYLE = Automatic;
536536
COMBINE_HIDPI_IMAGES = YES;
537+
CURRENT_PROJECT_VERSION = 9;
537538
DEVELOPMENT_TEAM = W777S7V8TN;
538539
ENABLE_HARDENED_RUNTIME = YES;
539540
INFOPLIST_FILE = hidden/Info.plist;
@@ -542,7 +543,7 @@
542543
"@executable_path/../Frameworks",
543544
);
544545
MACOSX_DEPLOYMENT_TARGET = 10.12;
545-
MARKETING_VERSION = 1.4;
546+
MARKETING_VERSION = 1.5;
546547
PRODUCT_BUNDLE_IDENTIFIER = com.dwarvesv.minimalbar;
547548
PRODUCT_NAME = "$(TARGET_NAME)";
548549
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -558,6 +559,7 @@
558559
CODE_SIGN_IDENTITY = "Mac Developer";
559560
CODE_SIGN_STYLE = Automatic;
560561
COMBINE_HIDPI_IMAGES = YES;
562+
CURRENT_PROJECT_VERSION = 9;
561563
DEVELOPMENT_TEAM = W777S7V8TN;
562564
ENABLE_HARDENED_RUNTIME = YES;
563565
INFOPLIST_FILE = hidden/Info.plist;
@@ -566,7 +568,7 @@
566568
"@executable_path/../Frameworks",
567569
);
568570
MACOSX_DEPLOYMENT_TARGET = 10.12;
569-
MARKETING_VERSION = 1.4;
571+
MARKETING_VERSION = 1.5;
570572
PRODUCT_BUNDLE_IDENTIFIER = com.dwarvesv.minimalbar;
571573
PRODUCT_NAME = "$(TARGET_NAME)";
572574
PROVISIONING_PROFILE_SPECIFIER = "";

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,14 @@ Hidden Bar lets you hide menu bar items to give your Mac a cleaner look.
2323

2424
## 🚀 Install
2525

26+
###  App Store
27+
2628
[![AppStore](/img/appstore.svg)](https://itunes.apple.com/app/hidden-bar/id1452453066)
2729

30+
### Others
31+
32+
The Hidden Bar is notarized before distributed out side App Store. It's safe to use 👍
33+
2834
#### Using Homebrew
2935

3036
```

hidden/AppDelegate.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class AppDelegate: NSObject, NSApplicationDelegate{
4444

4545
func registerDefaultValues() {
4646
UserDefaults.standard.register(defaults: [
47-
UserDefaults.Key.isAutoStart: true,
47+
UserDefaults.Key.isAutoStart: false,
4848
UserDefaults.Key.isShowPreference: true,
4949
UserDefaults.Key.isAutoHide: true,
5050
UserDefaults.Key.numberOfSecondForAutoHide: 10.0

hidden/Features/StatusBar/StatusBarController.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ class StatusBarController {
9696
}
9797

9898
private func startTimerToAutoHide() {
99-
self.timer = Timer.scheduledTimer(withTimeInterval: Preferences.numberOfSecondForAutoHide, repeats: false) { [weak self] timer in
99+
timer?.invalidate()
100+
self.timer = Timer.scheduledTimer(withTimeInterval: Preferences.numberOfSecondForAutoHide, repeats: false) { [weak self] _ in
100101
DispatchQueue.main.async {
101102
self?.collapseMenuBar()
102103
}
103-
timer.invalidate()
104104
}
105105
}
106106

hidden/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
22-
<string>1</string>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
2323
<key>LSApplicationCategoryType</key>
2424
<string>public.app-category.utilities</string>
2525
<key>LSMinimumSystemVersion</key>

0 commit comments

Comments
 (0)