Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
add icon to safari extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce committed Apr 7, 2019
1 parent 3390b6a commit b10f8ef
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 59 deletions.
2 changes: 1 addition & 1 deletion Safari/BlockerExtension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2019 Dirk Hulverscheidt. All rights reserved.</string>
<key>NSHumanReadableDescription</key>
<string>Add a description of what your extension does here.</string>
<string>This extension blocks annoying chat widgets.</string>
</dict>
</plist>
6 changes: 6 additions & 0 deletions Safari/HelloGoodbye.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
ED9F14A2225ABD4B008F7645 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = ED9F14A1225ABD4B008F7645 /* Assets.xcassets */; };
EDDE49D5225A9834005DE7A4 /* HelloGoodbye.entitlements in Resources */ = {isa = PBXBuildFile; fileRef = EDDE49D4225A9834005DE7A4 /* HelloGoodbye.entitlements */; };
EDDE49D7225A9834005DE7A4 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDDE49D6225A9834005DE7A4 /* AppDelegate.swift */; };
EDDE49DA225A9834005DE7A4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EDDE49D8225A9834005DE7A4 /* Main.storyboard */; };
Expand Down Expand Up @@ -43,6 +44,7 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
ED9F14A1225ABD4B008F7645 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = HelloGoodbye/Assets.xcassets; sourceTree = SOURCE_ROOT; };
EDDE49D1225A9834005DE7A4 /* HelloGoodbye.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HelloGoodbye.app; sourceTree = BUILT_PRODUCTS_DIR; };
EDDE49D4225A9834005DE7A4 /* HelloGoodbye.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = HelloGoodbye.entitlements; sourceTree = "<group>"; };
EDDE49D6225A9834005DE7A4 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -120,6 +122,7 @@
EDDE4A08225A98DF005DE7A4 /* BlockerExtension */ = {
isa = PBXGroup;
children = (
ED9F14A1225ABD4B008F7645 /* Assets.xcassets */,
EDDE4A09225A98DF005DE7A4 /* blockerList.json */,
EDDE4A0B225A98DF005DE7A4 /* ContentBlockerRequestHandler.swift */,
EDDE4A0D225A98DF005DE7A4 /* Info.plist */,
Expand Down Expand Up @@ -219,6 +222,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
ED9F14A2225ABD4B008F7645 /* Assets.xcassets in Resources */,
EDDE4A0A225A98DF005DE7A4 /* blockerList.json in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -423,6 +427,7 @@
EDDE4A13225A98DF005DE7A4 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = BlockerExtension/BlockerExtension.entitlements;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = BN988BU552;
Expand All @@ -442,6 +447,7 @@
EDDE4A14225A98DF005DE7A4 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = BlockerExtension/BlockerExtension.entitlements;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = BN988BU552;
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 1 addition & 58 deletions Safari/HelloGoodbye/Assets.xcassets/AppIcon.appiconset/Contents.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,58 +1 @@
{
"images" : [
{
"idiom" : "mac",
"size" : "16x16",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "16x16",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "32x32",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "32x32",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "128x128",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "128x128",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "256x256",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "256x256",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "512x512",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "512x512",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
{"images":[{"size":"1024x1024","expected-size":"1024","filename":"1024.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ios-marketing","scale":"1x"},{"size":"128x128","expected-size":"128","filename":"128.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"256x256","expected-size":"256","filename":"256.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"128x128","expected-size":"256","filename":"256.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"256x256","expected-size":"512","filename":"512.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"32x32","expected-size":"32","filename":"32.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"512x512","expected-size":"512","filename":"512.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"16x16","expected-size":"16","filename":"16.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"16x16","expected-size":"32","filename":"32.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"32x32","expected-size":"64","filename":"64.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"512x512","expected-size":"1024","filename":"1024.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"}]}
2 changes: 2 additions & 0 deletions Safari/HelloGoodbye/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
Expand Down
Binary file added photoshop/Exports/mac-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified photoshop/discuss-issue.psd
Binary file not shown.

0 comments on commit b10f8ef

Please sign in to comment.