diff --git a/SimDirs/Images.xcassets/defaultIcon.imageset/Contents.json b/SimDirs/Images.xcassets/defaultIcon.imageset/Contents.json new file mode 100644 index 0000000..844907d --- /dev/null +++ b/SimDirs/Images.xcassets/defaultIcon.imageset/Contents.json @@ -0,0 +1,22 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "defaultIcon.png" + }, + { + "idiom" : "universal", + "scale" : "2x", + "filename" : "defaultIcon@2x.png" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/SimDirs/Images.xcassets/defaultIcon.imageset/defaultIcon.png b/SimDirs/Images.xcassets/defaultIcon.imageset/defaultIcon.png new file mode 100644 index 0000000..f614703 Binary files /dev/null and b/SimDirs/Images.xcassets/defaultIcon.imageset/defaultIcon.png differ diff --git a/SimDirs/Images.xcassets/defaultIcon.imageset/defaultIcon@2x.png b/SimDirs/Images.xcassets/defaultIcon.imageset/defaultIcon@2x.png new file mode 100644 index 0000000..16a0748 Binary files /dev/null and b/SimDirs/Images.xcassets/defaultIcon.imageset/defaultIcon@2x.png differ diff --git a/SimDirs/Info.plist b/SimDirs/Info.plist index abc1cbb..f10e2d0 100644 --- a/SimDirs/Info.plist +++ b/SimDirs/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.4 + 0.4.1 CFBundleSignature ???? CFBundleVersion diff --git a/SimDirs/QSSimAppInfo.m b/SimDirs/QSSimAppInfo.m index e51e938..81d7ec0 100644 --- a/SimDirs/QSSimAppInfo.m +++ b/SimDirs/QSSimAppInfo.m @@ -129,6 +129,10 @@ } } } + + if (self.appIcon == nil) { + self.appIcon = [NSImage imageNamed: @"defaultIcon"]; + } } - (NSImage *) imageAtURL: (NSURL *) inImageURL diff --git a/screenshot.png b/screenshot.png index 6284260..42920c8 100644 Binary files a/screenshot.png and b/screenshot.png differ