Skip to content

Commit e7066aa

Browse files
committed
设置icon
1 parent 197eb39 commit e7066aa

File tree

14 files changed

+30
-16
lines changed

14 files changed

+30
-16
lines changed

MMKVReader/Assets.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,63 @@
11
{
22
"images" : [
33
{
4-
"idiom" : "mac",
54
"size" : "16x16",
5+
"idiom" : "mac",
6+
"filename" : "icon_16x16.png",
67
"scale" : "1x"
78
},
89
{
9-
"idiom" : "mac",
1010
"size" : "16x16",
11+
"idiom" : "mac",
12+
"filename" : "icon_16x16@2x.png",
1113
"scale" : "2x"
1214
},
1315
{
14-
"idiom" : "mac",
1516
"size" : "32x32",
17+
"idiom" : "mac",
18+
"filename" : "icon_32x32.png",
1619
"scale" : "1x"
1720
},
1821
{
19-
"idiom" : "mac",
2022
"size" : "32x32",
23+
"idiom" : "mac",
24+
"filename" : "icon_32x32@2x.png",
2125
"scale" : "2x"
2226
},
2327
{
24-
"idiom" : "mac",
2528
"size" : "128x128",
29+
"idiom" : "mac",
30+
"filename" : "icon_128x128.png",
2631
"scale" : "1x"
2732
},
2833
{
29-
"idiom" : "mac",
3034
"size" : "128x128",
35+
"idiom" : "mac",
36+
"filename" : "icon_128x128@2x-1.png",
3137
"scale" : "2x"
3238
},
3339
{
34-
"idiom" : "mac",
3540
"size" : "256x256",
41+
"idiom" : "mac",
42+
"filename" : "icon_256x256.png",
3643
"scale" : "1x"
3744
},
3845
{
39-
"idiom" : "mac",
4046
"size" : "256x256",
47+
"idiom" : "mac",
48+
"filename" : "icon_256x256@2x.png",
4149
"scale" : "2x"
4250
},
4351
{
44-
"idiom" : "mac",
4552
"size" : "512x512",
53+
"idiom" : "mac",
54+
"filename" : "icon_512x512.png",
4655
"scale" : "1x"
4756
},
4857
{
49-
"idiom" : "mac",
5058
"size" : "512x512",
59+
"idiom" : "mac",
60+
"filename" : "icon_512x512@2x.png",
5161
"scale" : "2x"
5262
}
5363
],
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

MMKVReader/Base.lproj/Main.storyboard

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="11134" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11134"/>
4+
<deployment identifier="macosx"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14460.31"/>
6+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
57
</dependencies>
68
<scenes>
79
<!--Application-->
@@ -673,7 +675,7 @@
673675
<outlet property="delegate" destination="Voe-Tx-rLC" id="PrD-fu-P6m"/>
674676
</connections>
675677
</application>
676-
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModuleProvider=""/>
678+
<customObject id="Voe-Tx-rLC" customClass="AppDelegate"/>
677679
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
678680
<customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
679681
</objects>
@@ -683,7 +685,7 @@
683685
<scene sceneID="R2V-B0-nI4">
684686
<objects>
685687
<windowController id="B8D-0N-5wS" sceneMemberID="viewController">
686-
<window key="window" title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="IQv-IB-iLA">
688+
<window key="window" title="MMKVReader" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" animationBehavior="default" id="IQv-IB-iLA">
687689
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
688690
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
689691
<rect key="contentRect" x="196" y="240" width="480" height="270"/>
@@ -703,7 +705,7 @@
703705
<!--View Controller-->
704706
<scene sceneID="hIz-AP-VOD">
705707
<objects>
706-
<viewController id="XfG-lQ-9wD" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController">
708+
<viewController id="XfG-lQ-9wD" customClass="ViewController" sceneMemberID="viewController">
707709
<view key="view" wantsLayer="YES" id="m2S-Jp-Qdl">
708710
<rect key="frame" x="0.0" y="0.0" width="480" height="270"/>
709711
<autoresizingMask key="autoresizingMask"/>

MMKVReader/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<string>1.0.0</string>
2121
<key>CFBundleVersion</key>
2222
<string>1</string>
23+
<key>LSApplicationCategoryType</key>
24+
<string>public.app-category.developer-tools</string>
2325
<key>LSMinimumSystemVersion</key>
2426
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
2527
<key>NSHumanReadableCopyright</key>

0 commit comments

Comments
 (0)