Browse Source

Cleanup Helper App

Thomas Buck 11 years ago
parent
commit
a18878ba84

+ 0
- 21
BaconBarHelper.xcodeproj/project.pbxproj View File

10
 		E922AEFB186F5F790038E4D7 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E922AEFA186F5F790038E4D7 /* Cocoa.framework */; };
10
 		E922AEFB186F5F790038E4D7 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E922AEFA186F5F790038E4D7 /* Cocoa.framework */; };
11
 		E922AF07186F5F790038E4D7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E922AF06186F5F790038E4D7 /* main.m */; };
11
 		E922AF07186F5F790038E4D7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E922AF06186F5F790038E4D7 /* main.m */; };
12
 		E922AF0E186F5F790038E4D7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E922AF0D186F5F790038E4D7 /* AppDelegate.m */; };
12
 		E922AF0E186F5F790038E4D7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E922AF0D186F5F790038E4D7 /* AppDelegate.m */; };
13
-		E9E5DE13186F88AD0091139B /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E922AF12186F5F790038E4D7 /* Images.xcassets */; };
14
-		E9E5DE1A186F89890091139B /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = E9E5DE17186F89810091139B /* Localizable.strings */; };
15
 /* End PBXBuildFile section */
13
 /* End PBXBuildFile section */
16
 
14
 
17
 /* Begin PBXFileReference section */
15
 /* Begin PBXFileReference section */
25
 		E922AF08186F5F790038E4D7 /* BaconBarHelper-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "BaconBarHelper-Prefix.pch"; sourceTree = "<group>"; };
23
 		E922AF08186F5F790038E4D7 /* BaconBarHelper-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "BaconBarHelper-Prefix.pch"; sourceTree = "<group>"; };
26
 		E922AF0C186F5F790038E4D7 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
24
 		E922AF0C186F5F790038E4D7 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
27
 		E922AF0D186F5F790038E4D7 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
25
 		E922AF0D186F5F790038E4D7 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
28
-		E922AF12186F5F790038E4D7 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
29
 		E922AF19186F5F790038E4D7 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
26
 		E922AF19186F5F790038E4D7 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
30
 		E922AF3C186F60E60038E4D7 /* BaconBarHelper.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = BaconBarHelper.entitlements; sourceTree = "<group>"; };
27
 		E922AF3C186F60E60038E4D7 /* BaconBarHelper.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = BaconBarHelper.entitlements; sourceTree = "<group>"; };
31
-		E9E5DE18186F89810091139B /* Base */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = Base; path = Base.lproj/Localizable.strings; sourceTree = "<group>"; };
32
 /* End PBXFileReference section */
28
 /* End PBXFileReference section */
33
 
29
 
34
 /* Begin PBXFrameworksBuildPhase section */
30
 /* Begin PBXFrameworksBuildPhase section */
86
 				E922AF3C186F60E60038E4D7 /* BaconBarHelper.entitlements */,
82
 				E922AF3C186F60E60038E4D7 /* BaconBarHelper.entitlements */,
87
 				E922AF0C186F5F790038E4D7 /* AppDelegate.h */,
83
 				E922AF0C186F5F790038E4D7 /* AppDelegate.h */,
88
 				E922AF0D186F5F790038E4D7 /* AppDelegate.m */,
84
 				E922AF0D186F5F790038E4D7 /* AppDelegate.m */,
89
-				E922AF12186F5F790038E4D7 /* Images.xcassets */,
90
 				E922AF01186F5F790038E4D7 /* Supporting Files */,
85
 				E922AF01186F5F790038E4D7 /* Supporting Files */,
91
 			);
86
 			);
92
 			path = BaconBarHelper;
87
 			path = BaconBarHelper;
95
 		E922AF01186F5F790038E4D7 /* Supporting Files */ = {
90
 		E922AF01186F5F790038E4D7 /* Supporting Files */ = {
96
 			isa = PBXGroup;
91
 			isa = PBXGroup;
97
 			children = (
92
 			children = (
98
-				E9E5DE17186F89810091139B /* Localizable.strings */,
99
 				E922AF02186F5F790038E4D7 /* BaconBarHelper-Info.plist */,
93
 				E922AF02186F5F790038E4D7 /* BaconBarHelper-Info.plist */,
100
 				E922AF06186F5F790038E4D7 /* main.m */,
94
 				E922AF06186F5F790038E4D7 /* main.m */,
101
 				E922AF08186F5F790038E4D7 /* BaconBarHelper-Prefix.pch */,
95
 				E922AF08186F5F790038E4D7 /* BaconBarHelper-Prefix.pch */,
166
 			isa = PBXResourcesBuildPhase;
160
 			isa = PBXResourcesBuildPhase;
167
 			buildActionMask = 2147483647;
161
 			buildActionMask = 2147483647;
168
 			files = (
162
 			files = (
169
-				E9E5DE13186F88AD0091139B /* Images.xcassets in Resources */,
170
-				E9E5DE1A186F89890091139B /* Localizable.strings in Resources */,
171
 			);
163
 			);
172
 			runOnlyForDeploymentPostprocessing = 0;
164
 			runOnlyForDeploymentPostprocessing = 0;
173
 		};
165
 		};
201
 		};
193
 		};
202
 /* End PBXSourcesBuildPhase section */
194
 /* End PBXSourcesBuildPhase section */
203
 
195
 
204
-/* Begin PBXVariantGroup section */
205
-		E9E5DE17186F89810091139B /* Localizable.strings */ = {
206
-			isa = PBXVariantGroup;
207
-			children = (
208
-				E9E5DE18186F89810091139B /* Base */,
209
-			);
210
-			name = Localizable.strings;
211
-			sourceTree = "<group>";
212
-		};
213
-/* End PBXVariantGroup section */
214
-
215
 /* Begin XCBuildConfiguration section */
196
 /* Begin XCBuildConfiguration section */
216
 		E922AF26186F5F790038E4D7 /* Debug */ = {
197
 		E922AF26186F5F790038E4D7 /* Debug */ = {
217
 			isa = XCBuildConfiguration;
198
 			isa = XCBuildConfiguration;
284
 		E922AF29186F5F790038E4D7 /* Debug */ = {
265
 		E922AF29186F5F790038E4D7 /* Debug */ = {
285
 			isa = XCBuildConfiguration;
266
 			isa = XCBuildConfiguration;
286
 			buildSettings = {
267
 			buildSettings = {
287
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
288
 				CODE_SIGN_ENTITLEMENTS = BaconBarHelper/BaconBarHelper.entitlements;
268
 				CODE_SIGN_ENTITLEMENTS = BaconBarHelper/BaconBarHelper.entitlements;
289
 				CODE_SIGN_IDENTITY = "Developer ID Application";
269
 				CODE_SIGN_IDENTITY = "Developer ID Application";
290
 				COMBINE_HIDPI_IMAGES = YES;
270
 				COMBINE_HIDPI_IMAGES = YES;
301
 		E922AF2A186F5F790038E4D7 /* Release */ = {
281
 		E922AF2A186F5F790038E4D7 /* Release */ = {
302
 			isa = XCBuildConfiguration;
282
 			isa = XCBuildConfiguration;
303
 			buildSettings = {
283
 			buildSettings = {
304
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
305
 				CODE_SIGN_ENTITLEMENTS = BaconBarHelper/BaconBarHelper.entitlements;
284
 				CODE_SIGN_ENTITLEMENTS = BaconBarHelper/BaconBarHelper.entitlements;
306
 				CODE_SIGN_IDENTITY = "Developer ID Application";
285
 				CODE_SIGN_IDENTITY = "Developer ID Application";
307
 				COMBINE_HIDPI_IMAGES = YES;
286
 				COMBINE_HIDPI_IMAGES = YES;

+ 2
- 5
BaconBarHelper/AppDelegate.m View File

21
     }
21
     }
22
     
22
     
23
     if (!alreadyRunning) {
23
     if (!alreadyRunning) {
24
-        NSString *path = [[NSBundle mainBundle] bundlePath];
25
-        NSArray *p = [path pathComponents];
26
-        NSMutableArray *pathComponents = [NSMutableArray arrayWithArray:p]; // /Applications/BaconBar.app/Contents/Library/LoginItems/BaconBarHelper.app
24
+        NSMutableArray *pathComponents = [NSMutableArray arrayWithArray:[[[NSBundle mainBundle] bundlePath] pathComponents]];
27
         [pathComponents removeLastObject]; // /Applications/BaconBar.app/Contents/Library/LoginItems
25
         [pathComponents removeLastObject]; // /Applications/BaconBar.app/Contents/Library/LoginItems
28
         [pathComponents removeLastObject]; // /Applications/BaconBar.app/Contents/Library
26
         [pathComponents removeLastObject]; // /Applications/BaconBar.app/Contents/Library
29
         [pathComponents removeLastObject]; // /Applications/BaconBar.app/Contents
27
         [pathComponents removeLastObject]; // /Applications/BaconBar.app/Contents
30
         [pathComponents removeLastObject]; // /Applications/BaconBar.app
28
         [pathComponents removeLastObject]; // /Applications/BaconBar.app
31
-        NSString *newPath = [NSString pathWithComponents:pathComponents];
32
-        [[NSWorkspace sharedWorkspace] launchApplication:newPath];
29
+        [[NSWorkspace sharedWorkspace] launchApplication:[NSString pathWithComponents:pathComponents]];
33
     }
30
     }
34
     
31
     
35
     [NSApp terminate:nil];
32
     [NSApp terminate:nil];

+ 1
- 1
BaconBarHelper/BaconBarHelper-Info.plist View File

21
 	<key>CFBundleSignature</key>
21
 	<key>CFBundleSignature</key>
22
 	<string>????</string>
22
 	<string>????</string>
23
 	<key>CFBundleVersion</key>
23
 	<key>CFBundleVersion</key>
24
-	<string>43</string>
24
+	<string>48</string>
25
 	<key>LSBackgroundOnly</key>
25
 	<key>LSBackgroundOnly</key>
26
 	<true/>
26
 	<true/>
27
 	<key>LSMinimumSystemVersion</key>
27
 	<key>LSMinimumSystemVersion</key>

+ 0
- 0
BaconBarHelper/Base.lproj/Localizable.strings View File


+ 0
- 68
BaconBarHelper/Images.xcassets/AppIcon.appiconset/Contents.json View File

1
-{
2
-  "images" : [
3
-    {
4
-      "size" : "16x16",
5
-      "idiom" : "mac",
6
-      "filename" : "icon_16x16.png",
7
-      "scale" : "1x"
8
-    },
9
-    {
10
-      "size" : "16x16",
11
-      "idiom" : "mac",
12
-      "filename" : "icon_16x16@2x.png",
13
-      "scale" : "2x"
14
-    },
15
-    {
16
-      "size" : "32x32",
17
-      "idiom" : "mac",
18
-      "filename" : "icon_32x32-1.png",
19
-      "scale" : "1x"
20
-    },
21
-    {
22
-      "size" : "32x32",
23
-      "idiom" : "mac",
24
-      "filename" : "icon_32x32@2x.png",
25
-      "scale" : "2x"
26
-    },
27
-    {
28
-      "size" : "128x128",
29
-      "idiom" : "mac",
30
-      "filename" : "icon_128x128.png",
31
-      "scale" : "1x"
32
-    },
33
-    {
34
-      "size" : "128x128",
35
-      "idiom" : "mac",
36
-      "filename" : "icon_128x128@2x.png",
37
-      "scale" : "2x"
38
-    },
39
-    {
40
-      "size" : "256x256",
41
-      "idiom" : "mac",
42
-      "filename" : "icon_256x256.png",
43
-      "scale" : "1x"
44
-    },
45
-    {
46
-      "size" : "256x256",
47
-      "idiom" : "mac",
48
-      "filename" : "icon_256x256@2x.png",
49
-      "scale" : "2x"
50
-    },
51
-    {
52
-      "size" : "512x512",
53
-      "idiom" : "mac",
54
-      "filename" : "icon_512x512.png",
55
-      "scale" : "1x"
56
-    },
57
-    {
58
-      "size" : "512x512",
59
-      "idiom" : "mac",
60
-      "filename" : "icon_512x512@2x.png",
61
-      "scale" : "2x"
62
-    }
63
-  ],
64
-  "info" : {
65
-    "version" : 1,
66
-    "author" : "xcode"
67
-  }
68
-}

BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_128x128.png View File


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_128x128@2x.png View File


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_16x16.png View File


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_16x16@2x.png View File


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_256x256.png View File


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_256x256@2x.png View File


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_32x32-1.png View File


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_32x32@2x.png View File


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_512x512.png View File


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_512x512@2x.png View File


+ 1
- 1
RedditBar/BaconBar-Info.plist View File

21
 	<key>CFBundleSignature</key>
21
 	<key>CFBundleSignature</key>
22
 	<string>????</string>
22
 	<string>????</string>
23
 	<key>CFBundleVersion</key>
23
 	<key>CFBundleVersion</key>
24
-	<string>391</string>
24
+	<string>396</string>
25
 	<key>LSApplicationCategoryType</key>
25
 	<key>LSApplicationCategoryType</key>
26
 	<string>public.app-category.utilities</string>
26
 	<string>public.app-category.utilities</string>
27
 	<key>LSMinimumSystemVersion</key>
27
 	<key>LSMinimumSystemVersion</key>

Loading…
Cancel
Save