diff --git a/Builds/HiddenFiles.app/Contents/Info.plist b/Builds/HiddenFiles.app/Contents/Info.plist new file mode 100644 index 0000000..fa59834 --- /dev/null +++ b/Builds/HiddenFiles.app/Contents/Info.plist @@ -0,0 +1,48 @@ + + + + + BuildMachineOSBuild + 13C64 + CFBundleDevelopmentRegion + en + CFBundleExecutable + HiddenFiles + CFBundleIdentifier + com.fffff.HiddenFiles + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + HiddenFiles + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 5B130a + DTPlatformVersion + GM + DTSDKBuild + 13C64 + DTSDKName + macosx10.9 + DTXcode + 0510 + DTXcodeBuild + 5B130a + LSBackgroundOnly + + LSMinimumSystemVersion + 10.7 + NSHumanReadableCopyright + Copyright © 2014 mixan946. All rights reserved. + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git a/Builds/HiddenFiles.app/Contents/MacOS/HiddenFiles b/Builds/HiddenFiles.app/Contents/MacOS/HiddenFiles new file mode 100755 index 0000000..4a733cf Binary files /dev/null and b/Builds/HiddenFiles.app/Contents/MacOS/HiddenFiles differ diff --git a/Builds/HiddenFiles.app/Contents/PkgInfo b/Builds/HiddenFiles.app/Contents/PkgInfo new file mode 100644 index 0000000..bd04210 --- /dev/null +++ b/Builds/HiddenFiles.app/Contents/PkgInfo @@ -0,0 +1 @@ +APPL???? \ No newline at end of file diff --git a/Builds/HiddenFiles.app/Contents/Resources/en.lproj/Credits.rtf b/Builds/HiddenFiles.app/Contents/Resources/en.lproj/Credits.rtf new file mode 100644 index 0000000..46576ef --- /dev/null +++ b/Builds/HiddenFiles.app/Contents/Resources/en.lproj/Credits.rtf @@ -0,0 +1,29 @@ +{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;} +{\colortbl;\red255\green255\blue255;} +\paperw9840\paperh8400 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs24 \cf0 Engineering: +\b0 \ + Some people\ +\ + +\b Human Interface Design: +\b0 \ + Some other people\ +\ + +\b Testing: +\b0 \ + Hopefully not nobody\ +\ + +\b Documentation: +\b0 \ + Whoever\ +\ + +\b With special thanks to: +\b0 \ + Mom\ +} diff --git a/Builds/HiddenFiles.app/Contents/Resources/en.lproj/InfoPlist.strings b/Builds/HiddenFiles.app/Contents/Resources/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..5e45963 Binary files /dev/null and b/Builds/HiddenFiles.app/Contents/Resources/en.lproj/InfoPlist.strings differ diff --git a/Builds/HiddenFiles.app/Contents/Resources/en.lproj/MainMenu.nib b/Builds/HiddenFiles.app/Contents/Resources/en.lproj/MainMenu.nib new file mode 100644 index 0000000..71b957a Binary files /dev/null and b/Builds/HiddenFiles.app/Contents/Resources/en.lproj/MainMenu.nib differ diff --git a/Builds/HiddenFiles.app/Contents/Resources/eye_closed.icns b/Builds/HiddenFiles.app/Contents/Resources/eye_closed.icns new file mode 100644 index 0000000..cc25d82 Binary files /dev/null and b/Builds/HiddenFiles.app/Contents/Resources/eye_closed.icns differ diff --git a/Builds/HiddenFiles.app/Contents/Resources/eye_closed_17.png b/Builds/HiddenFiles.app/Contents/Resources/eye_closed_17.png new file mode 100644 index 0000000..6d98f97 Binary files /dev/null and b/Builds/HiddenFiles.app/Contents/Resources/eye_closed_17.png differ diff --git a/Builds/HiddenFiles.app/Contents/Resources/eye_closed_512.png b/Builds/HiddenFiles.app/Contents/Resources/eye_closed_512.png new file mode 100644 index 0000000..0afce2a Binary files /dev/null and b/Builds/HiddenFiles.app/Contents/Resources/eye_closed_512.png differ diff --git a/Builds/HiddenFiles.app/Contents/Resources/eye_open.icns b/Builds/HiddenFiles.app/Contents/Resources/eye_open.icns new file mode 100644 index 0000000..1bf5334 Binary files /dev/null and b/Builds/HiddenFiles.app/Contents/Resources/eye_open.icns differ diff --git a/Builds/HiddenFiles.app/Contents/Resources/eye_open_17.png b/Builds/HiddenFiles.app/Contents/Resources/eye_open_17.png new file mode 100644 index 0000000..33f7583 Binary files /dev/null and b/Builds/HiddenFiles.app/Contents/Resources/eye_open_17.png differ diff --git a/Builds/HiddenFiles.app/Contents/Resources/eye_open_512.png b/Builds/HiddenFiles.app/Contents/Resources/eye_open_512.png new file mode 100644 index 0000000..559fd0c Binary files /dev/null and b/Builds/HiddenFiles.app/Contents/Resources/eye_open_512.png differ diff --git a/HiddenFiles.xcodeproj/project.pbxproj b/HiddenFiles.xcodeproj/project.pbxproj index b1b5a21..c64eac6 100644 --- a/HiddenFiles.xcodeproj/project.pbxproj +++ b/HiddenFiles.xcodeproj/project.pbxproj @@ -7,12 +7,12 @@ objects = { /* Begin PBXBuildFile section */ - 983A02E8187ED76A0031E38E /* eye_closed.icns in Resources */ = {isa = PBXBuildFile; fileRef = 983A02E2187ED76A0031E38E /* eye_closed.icns */; }; - 983A02E9187ED76A0031E38E /* eye_open.icns in Resources */ = {isa = PBXBuildFile; fileRef = 983A02E3187ED76A0031E38E /* eye_open.icns */; }; - 98C1ECD4187EF1720066B240 /* eye_closed_17.png in Resources */ = {isa = PBXBuildFile; fileRef = 98C1ECD0187EF1720066B240 /* eye_closed_17.png */; }; - 98C1ECD5187EF1720066B240 /* eye_closed_512.png in Resources */ = {isa = PBXBuildFile; fileRef = 98C1ECD1187EF1720066B240 /* eye_closed_512.png */; }; - 98C1ECD6187EF1720066B240 /* eye_open_17.png in Resources */ = {isa = PBXBuildFile; fileRef = 98C1ECD2187EF1720066B240 /* eye_open_17.png */; }; - 98C1ECD7187EF1720066B240 /* eye_open_512.png in Resources */ = {isa = PBXBuildFile; fileRef = 98C1ECD3187EF1720066B240 /* eye_open_512.png */; }; + DAEAB25A18E5A3FA0063239E /* eye_closed_17.png in Resources */ = {isa = PBXBuildFile; fileRef = DAEAB25418E5A3FA0063239E /* eye_closed_17.png */; }; + DAEAB25B18E5A3FA0063239E /* eye_closed_512.png in Resources */ = {isa = PBXBuildFile; fileRef = DAEAB25518E5A3FA0063239E /* eye_closed_512.png */; }; + DAEAB25C18E5A3FA0063239E /* eye_closed.icns in Resources */ = {isa = PBXBuildFile; fileRef = DAEAB25618E5A3FA0063239E /* eye_closed.icns */; }; + DAEAB25D18E5A3FA0063239E /* eye_open_17.png in Resources */ = {isa = PBXBuildFile; fileRef = DAEAB25718E5A3FA0063239E /* eye_open_17.png */; }; + DAEAB25E18E5A3FA0063239E /* eye_open_512.png in Resources */ = {isa = PBXBuildFile; fileRef = DAEAB25818E5A3FA0063239E /* eye_open_512.png */; }; + DAEAB25F18E5A3FA0063239E /* eye_open.icns in Resources */ = {isa = PBXBuildFile; fileRef = DAEAB25918E5A3FA0063239E /* eye_open.icns */; }; F75A98131709016B00B8F330 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F75A98121709016B00B8F330 /* Cocoa.framework */; }; F75A981D1709016B00B8F330 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = F75A981B1709016B00B8F330 /* InfoPlist.strings */; }; F75A981F1709016B00B8F330 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F75A981E1709016B00B8F330 /* main.m */; }; @@ -22,12 +22,12 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - 983A02E2187ED76A0031E38E /* eye_closed.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = eye_closed.icns; path = ../icons_for_hidden_files_app/eye_closed.icns; sourceTree = ""; }; - 983A02E3187ED76A0031E38E /* eye_open.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = eye_open.icns; path = ../icons_for_hidden_files_app/eye_open.icns; sourceTree = ""; }; - 98C1ECD0187EF1720066B240 /* eye_closed_17.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = eye_closed_17.png; path = ../../Downloads/eye_closed_17.png; sourceTree = ""; }; - 98C1ECD1187EF1720066B240 /* eye_closed_512.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = eye_closed_512.png; path = ../../Downloads/eye_closed_512.png; sourceTree = ""; }; - 98C1ECD2187EF1720066B240 /* eye_open_17.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = eye_open_17.png; path = ../../Downloads/eye_open_17.png; sourceTree = ""; }; - 98C1ECD3187EF1720066B240 /* eye_open_512.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = eye_open_512.png; path = ../../Downloads/eye_open_512.png; sourceTree = ""; }; + DAEAB25418E5A3FA0063239E /* eye_closed_17.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = eye_closed_17.png; sourceTree = ""; }; + DAEAB25518E5A3FA0063239E /* eye_closed_512.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = eye_closed_512.png; sourceTree = ""; }; + DAEAB25618E5A3FA0063239E /* eye_closed.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = eye_closed.icns; sourceTree = ""; }; + DAEAB25718E5A3FA0063239E /* eye_open_17.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = eye_open_17.png; sourceTree = ""; }; + DAEAB25818E5A3FA0063239E /* eye_open_512.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = eye_open_512.png; sourceTree = ""; }; + DAEAB25918E5A3FA0063239E /* eye_open.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = eye_open.icns; sourceTree = ""; }; F75A980F1709016B00B8F330 /* HiddenFiles.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HiddenFiles.app; sourceTree = BUILT_PRODUCTS_DIR; }; F75A98121709016B00B8F330 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; F75A98151709016B00B8F330 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; @@ -58,12 +58,12 @@ 983A02E1187ED75B0031E38E /* Images */ = { isa = PBXGroup; children = ( - 98C1ECD0187EF1720066B240 /* eye_closed_17.png */, - 98C1ECD1187EF1720066B240 /* eye_closed_512.png */, - 98C1ECD2187EF1720066B240 /* eye_open_17.png */, - 98C1ECD3187EF1720066B240 /* eye_open_512.png */, - 983A02E2187ED76A0031E38E /* eye_closed.icns */, - 983A02E3187ED76A0031E38E /* eye_open.icns */, + DAEAB25418E5A3FA0063239E /* eye_closed_17.png */, + DAEAB25518E5A3FA0063239E /* eye_closed_512.png */, + DAEAB25618E5A3FA0063239E /* eye_closed.icns */, + DAEAB25718E5A3FA0063239E /* eye_open_17.png */, + DAEAB25818E5A3FA0063239E /* eye_open_512.png */, + DAEAB25918E5A3FA0063239E /* eye_open.icns */, ); name = Images; sourceTree = ""; @@ -154,7 +154,7 @@ F75A98071709016B00B8F330 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0460; + LastUpgradeCheck = 0510; ORGANIZATIONNAME = "Tim Jarratt"; }; buildConfigurationList = F75A980A1709016B00B8F330 /* Build configuration list for PBXProject "HiddenFiles" */; @@ -179,14 +179,14 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 98C1ECD5187EF1720066B240 /* eye_closed_512.png in Resources */, F75A981D1709016B00B8F330 /* InfoPlist.strings in Resources */, - 98C1ECD4187EF1720066B240 /* eye_closed_17.png in Resources */, - 98C1ECD7187EF1720066B240 /* eye_open_512.png in Resources */, + DAEAB25F18E5A3FA0063239E /* eye_open.icns in Resources */, F75A98231709016B00B8F330 /* Credits.rtf in Resources */, - 98C1ECD6187EF1720066B240 /* eye_open_17.png in Resources */, - 983A02E9187ED76A0031E38E /* eye_open.icns in Resources */, - 983A02E8187ED76A0031E38E /* eye_closed.icns in Resources */, + DAEAB25B18E5A3FA0063239E /* eye_closed_512.png in Resources */, + DAEAB25E18E5A3FA0063239E /* eye_open_512.png in Resources */, + DAEAB25A18E5A3FA0063239E /* eye_closed_17.png in Resources */, + DAEAB25D18E5A3FA0063239E /* eye_open_17.png in Resources */, + DAEAB25C18E5A3FA0063239E /* eye_closed.icns in Resources */, F75A98291709016B00B8F330 /* MainMenu.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -237,7 +237,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_OBJC_ARC = YES; @@ -260,7 +259,7 @@ GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.8; + MACOSX_DEPLOYMENT_TARGET = 10.7; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -270,7 +269,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_OBJC_ARC = YES; @@ -287,7 +285,7 @@ GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.8; + MACOSX_DEPLOYMENT_TARGET = 10.7; SDKROOT = macosx; }; name = Release; diff --git a/NSStatusItemExample/HiddenFiles-Info.plist b/NSStatusItemExample/HiddenFiles-Info.plist index 8952bd0..0b05a39 100644 --- a/NSStatusItemExample/HiddenFiles-Info.plist +++ b/NSStatusItemExample/HiddenFiles-Info.plist @@ -16,8 +16,6 @@ APPL CFBundleShortVersionString 1.0 - CFBundleSignature - ???? CFBundleVersion 1 LSBackgroundOnly @@ -25,7 +23,7 @@ LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSHumanReadableCopyright - Copyright © 2013 Tim Jarratt. All rights reserved. + Copyright © 2014 mixan946. All rights reserved. NSMainNibFile MainMenu NSPrincipalClass diff --git a/README.md b/README.md index 0d8c7df..81f88cb 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,11 @@ This is background-only OS X application to easily switch visibility of hidden f It runs solely as a NSStatusItem (ie: there is no Dock icon, no main application window and it does not show up in the application switcher). This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0 + ![License](http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png) +Developed using NSStatus example by Tim Jarratt ©2013 + Documentation available on the Apple Developer site: * [NSStatusItem](https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSStatusItem_Class/Reference/Reference.html) * [NSMenu](https://developer.apple.com/library/mac/#DOCUMENTATION/Cocoa/Reference/ApplicationKit/Classes/NSMenu_Class/Reference/Reference.html) diff --git a/eye_closed.icns b/eye_closed.icns new file mode 100644 index 0000000..cc25d82 Binary files /dev/null and b/eye_closed.icns differ diff --git a/eye_closed_17.png b/eye_closed_17.png new file mode 100644 index 0000000..6d98f97 Binary files /dev/null and b/eye_closed_17.png differ diff --git a/eye_closed_512.png b/eye_closed_512.png new file mode 100644 index 0000000..0afce2a Binary files /dev/null and b/eye_closed_512.png differ diff --git a/eye_open.icns b/eye_open.icns new file mode 100644 index 0000000..1bf5334 Binary files /dev/null and b/eye_open.icns differ diff --git a/eye_open_17.png b/eye_open_17.png new file mode 100644 index 0000000..33f7583 Binary files /dev/null and b/eye_open_17.png differ diff --git a/eye_open_512.png b/eye_open_512.png new file mode 100644 index 0000000..559fd0c Binary files /dev/null and b/eye_open_512.png differ