Skip to content

Commit

Permalink
Added document file icon as well as special .todo file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
thebitstick committed Oct 19, 2020
1 parent c595f44 commit f84c282
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 9 deletions.
Binary file added TodoTxt.icns
Binary file not shown.
12 changes: 8 additions & 4 deletions TodoTxtMac.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
00FA1D2A18F1EF4C0066A437 /* RelativeDates.strings in Resources */ = {isa = PBXBuildFile; fileRef = 00FA1D2918F1EF4C0066A437 /* RelativeDates.strings */; };
00FB47861A733E6100F8D2B3 /* TTMDocumentStatusBarText.m in Sources */ = {isa = PBXBuildFile; fileRef = 00FB47851A733E6100F8D2B3 /* TTMDocumentStatusBarText.m */; };
00FCB2F918DB64510070BD4A /* TTMFilters.xib in Resources */ = {isa = PBXBuildFile; fileRef = 00FCB2F818DB64510070BD4A /* TTMFilters.xib */; };
CFC62866253DA1D9008CB19A /* TodoTxt.icns in Resources */ = {isa = PBXBuildFile; fileRef = CFC62865253DA1D9008CB19A /* TodoTxt.icns */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -212,6 +213,7 @@
00FB47841A733E6100F8D2B3 /* TTMDocumentStatusBarText.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TTMDocumentStatusBarText.h; sourceTree = "<group>"; };
00FB47851A733E6100F8D2B3 /* TTMDocumentStatusBarText.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TTMDocumentStatusBarText.m; sourceTree = "<group>"; };
00FCB2F818DB64510070BD4A /* TTMFilters.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = TTMFilters.xib; sourceTree = "<group>"; };
CFC62865253DA1D9008CB19A /* TodoTxt.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = TodoTxt.icns; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -273,6 +275,7 @@
003647DF193D55FF00FDF67A /* Resources */ = {
isa = PBXGroup;
children = (
CFC62865253DA1D9008CB19A /* TodoTxt.icns */,
003647E0193D562900FDF67A /* dsa_pub.pem */,
);
name = Resources;
Expand Down Expand Up @@ -558,6 +561,7 @@
00FCB2F918DB64510070BD4A /* TTMFilters.xib in Resources */,
00FA1D2A18F1EF4C0066A437 /* RelativeDates.strings in Resources */,
00B4CBB218B43E8400313DAA /* TTMDocument.xib in Resources */,
CFC62866253DA1D9008CB19A /* TodoTxt.icns in Resources */,
003647E1193D562900FDF67A /* dsa_pub.pem in Resources */,
00B4CBB718B43E8500313DAA /* Images.xcassets in Resources */,
00B4CBA618B43E8400313DAA /* InfoPlist.strings in Resources */,
Expand Down Expand Up @@ -793,7 +797,7 @@
BUNDLE_LOADER = "";
CODE_SIGN_ENTITLEMENTS = TodoTxtMac/TodoTxtMac.entitlements;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 2034;
CURRENT_PROJECT_VERSION = 2035;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",
Expand All @@ -802,7 +806,7 @@
GCC_PREFIX_HEADER = "TodoTxtMac/TodoTxtMac-Prefix.pch";
INFOPLIST_FILE = "TodoTxtMac/TodoTxtMac-Info.plist";
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.4.2;
MARKETING_VERSION = 2.4.3;
PRODUCT_BUNDLE_IDENTIFIER = com.github.TodoTxtMac;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
Expand All @@ -817,7 +821,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = TodoTxtMac/TodoTxtMac.entitlements;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 2034;
CURRENT_PROJECT_VERSION = 2035;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",
Expand All @@ -826,7 +830,7 @@
GCC_PREFIX_HEADER = "TodoTxtMac/TodoTxtMac-Prefix.pch";
INFOPLIST_FILE = "TodoTxtMac/TodoTxtMac-Info.plist";
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.4.2;
MARKETING_VERSION = 2.4.3;
PRODUCT_BUNDLE_IDENTIFIER = com.github.TodoTxtMac;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
Expand Down
24 changes: 19 additions & 5 deletions TodoTxtMac/TodoTxtMac-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,32 @@
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>txt</string>
<string>todo</string>
</array>
<key>CFBundleTypeIconFile</key>
<string></string>
<string>TodoTxt.icns</string>
<key>CFBundleTypeName</key>
<string>DocumentType</string>
<key>CFBundleTypeOSTypes</key>
<string>TodoTxt</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<false/>
<key>NSDocumentClass</key>
<string>TTMDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>????</string>
<string>txt</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>TodoTxt.icns</string>
<key>CFBundleTypeName</key>
<string>DocumentType</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<integer>0</integer>
<key>NSDocumentClass</key>
<string>TTMDocument</string>
</dict>
Expand Down

0 comments on commit f84c282

Please sign in to comment.