Przeglądaj źródła

Cleanup Helper App

Thomas Buck 11 lat temu
rodzic
commit
a18878ba84

+ 0
- 21
BaconBarHelper.xcodeproj/project.pbxproj Wyświetl plik

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

+ 2
- 5
BaconBarHelper/AppDelegate.m Wyświetl plik

@@ -21,15 +21,12 @@
21 21
     }
22 22
     
23 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 25
         [pathComponents removeLastObject]; // /Applications/BaconBar.app/Contents/Library/LoginItems
28 26
         [pathComponents removeLastObject]; // /Applications/BaconBar.app/Contents/Library
29 27
         [pathComponents removeLastObject]; // /Applications/BaconBar.app/Contents
30 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 32
     [NSApp terminate:nil];

+ 1
- 1
BaconBarHelper/BaconBarHelper-Info.plist Wyświetl plik

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

+ 0
- 0
BaconBarHelper/Base.lproj/Localizable.strings Wyświetl plik


+ 0
- 68
BaconBarHelper/Images.xcassets/AppIcon.appiconset/Contents.json Wyświetl plik

@@ -1,68 +0,0 @@
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 Wyświetl plik


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_128x128@2x.png Wyświetl plik


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_16x16.png Wyświetl plik


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_16x16@2x.png Wyświetl plik


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_256x256.png Wyświetl plik


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_256x256@2x.png Wyświetl plik


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_32x32-1.png Wyświetl plik


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_32x32@2x.png Wyświetl plik


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_512x512.png Wyświetl plik


BIN
BaconBarHelper/Images.xcassets/AppIcon.appiconset/icon_512x512@2x.png Wyświetl plik


+ 1
- 1
RedditBar/BaconBar-Info.plist Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz