mirror of
https://github.com/somegeekintn/SimDirs.git
synced 2026-03-25 08:55:54 +00:00
add default icon
This commit is contained in:
parent
9398244026
commit
ec37d8be2b
6 changed files with 27 additions and 1 deletions
22
SimDirs/Images.xcassets/defaultIcon.imageset/Contents.json
vendored
Normal file
22
SimDirs/Images.xcassets/defaultIcon.imageset/Contents.json
vendored
Normal file
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
BIN
SimDirs/Images.xcassets/defaultIcon.imageset/defaultIcon.png
vendored
Normal file
BIN
SimDirs/Images.xcassets/defaultIcon.imageset/defaultIcon.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
BIN
SimDirs/Images.xcassets/defaultIcon.imageset/defaultIcon@2x.png
vendored
Normal file
BIN
SimDirs/Images.xcassets/defaultIcon.imageset/defaultIcon@2x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
|
|
@ -17,7 +17,7 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.4</string>
|
||||
<string>0.4.1</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
|
|
|
|||
|
|
@ -129,6 +129,10 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (self.appIcon == nil) {
|
||||
self.appIcon = [NSImage imageNamed: @"defaultIcon"];
|
||||
}
|
||||
}
|
||||
|
||||
- (NSImage *) imageAtURL: (NSURL *) inImageURL
|
||||
|
|
|
|||
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
|
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 102 KiB |
Loading…
Reference in a new issue