Skip to content

Commit

Permalink
Merge pull request #16 from dwarvesf/develop
Browse files Browse the repository at this point in the history
Release version 1.1
  • Loading branch information
phucledien authored Feb 28, 2019
2 parents 6b80f20 + 993a2ce commit 41022b1
Show file tree
Hide file tree
Showing 21 changed files with 305 additions and 76 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
objects = {

/* Begin PBXBuildFile section */
3CD1E39A221E8F2100294DA5 /* Constant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92C97B8E220147FE0007559C /* Constant.swift */; };
3CD1E39C221E915D00294DA5 /* Util.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92C97B87220032ED0007559C /* Util.swift */; };
3CF14C82221FA49D0083D42B /* PreferencesWindowController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3CF14C81221FA49D0083D42B /* PreferencesWindowController.swift */; };
3CF14C83221FA7860083D42B /* PreferencesWindowController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3CF14C81221FA49D0083D42B /* PreferencesWindowController.swift */; };
9220587E2212A7C0008A8B03 /* LauncherApplication.app in Copy Files */ = {isa = PBXBuildFile; fileRef = 92C5054E21FEC03B0084719A /* LauncherApplication.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
929113F521F9D04100173149 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 929113F421F9D04100173149 /* AppDelegate.swift */; };
929113F721F9D04100173149 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 929113F621F9D04100173149 /* ViewController.swift */; };
Expand Down Expand Up @@ -41,8 +45,9 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
3CF14C81221FA49D0083D42B /* PreferencesWindowController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreferencesWindowController.swift; sourceTree = "<group>"; };
9220587D22127050008A8B03 /* Hidden.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = Hidden.entitlements; path = Hidden/Hidden.entitlements; sourceTree = "<group>"; };
929113F121F9D04100173149 /* HiddenBar.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HiddenBar.app; sourceTree = BUILT_PRODUCTS_DIR; };
929113F121F9D04100173149 /* Hidden Bar.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Hidden Bar.app"; sourceTree = BUILT_PRODUCTS_DIR; };
929113F421F9D04100173149 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
929113F621F9D04100173149 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
929113F821F9D04200173149 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
Expand Down Expand Up @@ -89,6 +94,7 @@
children = (
92C97B9022018C1F0007559C /* StatusBarController.swift */,
929113F621F9D04100173149 /* ViewController.swift */,
3CF14C81221FA49D0083D42B /* PreferencesWindowController.swift */,
);
path = ViewControlllers;
sourceTree = "<group>";
Expand Down Expand Up @@ -116,7 +122,7 @@
929113F221F9D04100173149 /* Products */ = {
isa = PBXGroup;
children = (
929113F121F9D04100173149 /* HiddenBar.app */,
929113F121F9D04100173149 /* Hidden Bar.app */,
92C5054E21FEC03B0084719A /* LauncherApplication.app */,
);
name = Products;
Expand Down Expand Up @@ -170,9 +176,9 @@
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
929113F021F9D04100173149 /* HiddenBar */ = {
929113F021F9D04100173149 /* Hidden Bar */ = {
isa = PBXNativeTarget;
buildConfigurationList = 9291141721F9D04200173149 /* Build configuration list for PBXNativeTarget "HiddenBar" */;
buildConfigurationList = 9291141721F9D04200173149 /* Build configuration list for PBXNativeTarget "Hidden Bar" */;
buildPhases = (
929113ED21F9D04100173149 /* Sources */,
929113EE21F9D04100173149 /* Frameworks */,
Expand All @@ -183,9 +189,9 @@
);
dependencies = (
);
name = HiddenBar;
name = "Hidden Bar";
productName = vanillaClone;
productReference = 929113F121F9D04100173149 /* HiddenBar.app */;
productReference = 929113F121F9D04100173149 /* Hidden Bar.app */;
productType = "com.apple.product-type.application";
};
92C5054D21FEC03B0084719A /* LauncherApplication */ = {
Expand Down Expand Up @@ -228,7 +234,7 @@
};
};
};
buildConfigurationList = 929113EC21F9D04100173149 /* Build configuration list for PBXProject "HiddenBar" */;
buildConfigurationList = 929113EC21F9D04100173149 /* Build configuration list for PBXProject "Hidden Bar" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
Expand All @@ -241,7 +247,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
929113F021F9D04100173149 /* HiddenBar */,
929113F021F9D04100173149 /* Hidden Bar */,
92C5054D21FEC03B0084719A /* LauncherApplication */,
);
};
Expand Down Expand Up @@ -279,6 +285,7 @@
929113F721F9D04100173149 /* ViewController.swift in Sources */,
929113F521F9D04100173149 /* AppDelegate.swift in Sources */,
92C97B88220032ED0007559C /* Util.swift in Sources */,
3CF14C82221FA49D0083D42B /* PreferencesWindowController.swift in Sources */,
92C97B8B220049D20007559C /* NSBarButtonItem+Extension.swift in Sources */,
92C97B8D220058740007559C /* NSView+Extension.swift in Sources */,
);
Expand All @@ -290,6 +297,9 @@
files = (
92C5055321FEC03C0084719A /* ViewController.swift in Sources */,
92C5055121FEC03C0084719A /* AppDelegate.swift in Sources */,
3CF14C83221FA7860083D42B /* PreferencesWindowController.swift in Sources */,
3CD1E39A221E8F2100294DA5 /* Constant.swift in Sources */,
3CD1E39C221E915D00294DA5 /* Util.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -444,6 +454,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
PRODUCT_BUNDLE_IDENTIFIER = com.dwarvesv.minimalbar;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -465,6 +476,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
PRODUCT_BUNDLE_IDENTIFIER = com.dwarvesv.minimalbar;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -486,6 +498,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
PRODUCT_BUNDLE_IDENTIFIER = com.dwarvesv.LauncherApplication;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -508,6 +521,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
PRODUCT_BUNDLE_IDENTIFIER = com.dwarvesv.LauncherApplication;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -519,7 +533,7 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
929113EC21F9D04100173149 /* Build configuration list for PBXProject "HiddenBar" */ = {
929113EC21F9D04100173149 /* Build configuration list for PBXProject "Hidden Bar" */ = {
isa = XCConfigurationList;
buildConfigurations = (
9291141521F9D04200173149 /* Debug */,
Expand All @@ -528,7 +542,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
9291141721F9D04200173149 /* Build configuration list for PBXNativeTarget "HiddenBar" */ = {
9291141721F9D04200173149 /* Build configuration list for PBXNativeTarget "Hidden Bar" */ = {
isa = XCConfigurationList;
buildConfigurations = (
9291141821F9D04200173149 /* Debug */,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

91 changes: 91 additions & 0 deletions Hidden Bar.xcodeproj/xcshareddata/xcschemes/Hidden Bar.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1010"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "929113F021F9D04100173149"
BuildableName = "Hidden Bar.app"
BlueprintName = "Hidden Bar"
ReferencedContainer = "container:Hidden Bar.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "929113F021F9D04100173149"
BuildableName = "Hidden Bar.app"
BlueprintName = "Hidden Bar"
ReferencedContainer = "container:Hidden Bar.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "929113F021F9D04100173149"
BuildableName = "Hidden Bar.app"
BlueprintName = "Hidden Bar"
ReferencedContainer = "container:Hidden Bar.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "929113F021F9D04100173149"
BuildableName = "Hidden Bar.app"
BlueprintName = "Hidden Bar"
ReferencedContainer = "container:Hidden Bar.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
BlueprintIdentifier = "92C5054D21FEC03B0084719A"
BuildableName = "LauncherApplication.app"
BlueprintName = "LauncherApplication"
ReferencedContainer = "container:HiddenBar.xcodeproj">
ReferencedContainer = "container:Hidden Bar.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -35,7 +35,7 @@
BlueprintIdentifier = "92C5055E21FEC03C0084719A"
BuildableName = "LauncherApplicationTests.xctest"
BlueprintName = "LauncherApplicationTests"
ReferencedContainer = "container:HiddenBar.xcodeproj">
ReferencedContainer = "container:Hidden Bar.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
Expand All @@ -45,7 +45,7 @@
BlueprintIdentifier = "92C5056921FEC03C0084719A"
BuildableName = "LauncherApplicationUITests.xctest"
BlueprintName = "LauncherApplicationUITests"
ReferencedContainer = "container:HiddenBar.xcodeproj">
ReferencedContainer = "container:Hidden Bar.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
Expand All @@ -55,7 +55,7 @@
BlueprintIdentifier = "92C5054D21FEC03B0084719A"
BuildableName = "LauncherApplication.app"
BlueprintName = "LauncherApplication"
ReferencedContainer = "container:HiddenBar.xcodeproj">
ReferencedContainer = "container:Hidden Bar.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
Expand All @@ -78,7 +78,7 @@
BlueprintIdentifier = "92C5054D21FEC03B0084719A"
BuildableName = "LauncherApplication.app"
BlueprintName = "LauncherApplication"
ReferencedContainer = "container:HiddenBar.xcodeproj">
ReferencedContainer = "container:Hidden Bar.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
Expand All @@ -97,7 +97,7 @@
BlueprintIdentifier = "92C5054D21FEC03B0084719A"
BuildableName = "LauncherApplication.app"
BlueprintName = "LauncherApplication"
ReferencedContainer = "container:HiddenBar.xcodeproj">
ReferencedContainer = "container:Hidden Bar.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Dwarves Foundation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
11 changes: 3 additions & 8 deletions LauncherApplication/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
import Cocoa


extension Notification.Name {
static let killLauncher = Notification.Name("killLauncher")
}

@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {

Expand All @@ -35,10 +31,9 @@ class AppDelegate: NSObject, NSApplicationDelegate {
var components = path.pathComponents
components.removeLast(3)
components.append("MacOS")
components.append("Hidden Bar") //main app name
let _ = NSString.path(withComponents: components)

NSWorkspace.shared.launchApplication("Hidden Bar")
components.append(App_Name) //main app name
let newPath = NSString.path(withComponents: components)
NSWorkspace.shared.launchApplication(newPath)
}
else {
self.terminate()
Expand Down
24 changes: 18 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,31 @@
</a>
</p>

## 🚀 Hidden
Hidden lets you hide menu bar items to give your Mac a cleaner look.
## Hidden Bar
Hidden Bar lets you hide menu bar items to give your Mac a cleaner look.

## ⚙️ Install
## Install

Manual:
[![AppStore](/img/appstore.png)](https://itunes.apple.com/app/hidden-bar/id1452453066)

1. [Download](https://github.com/dwarvesf/hidden/releases/latest), open, and drag the app to the Applications folder.
2. Open Hidden and drag the icon in your menu bar (hold CMD) to the right so it is between some other icons.
#### Manual download

- [Download latest version](https://github.com/dwarvesf/hidden/releases/latest)
- Open and drag the app to the Applications folder.
- Launch Hidden and drag the icon in your menu bar (hold CMD) to the right so it is between some other icons.

## Usage

* `` + drag to move the Hidden icons around in the menu bar.
* Click the Arrow icon to hide menu bar items.

<p align="center">
<img src="img/tutorial.gif">
</p>

## Requirements
macOS version >= 10.13

## Contribution

If you
Loading

0 comments on commit 41022b1

Please sign in to comment.