Skip to content

Commit

Permalink
fix app icon in 10.12
Browse files Browse the repository at this point in the history
  • Loading branch information
thompsonate committed Jan 2, 2018
1 parent fb95681 commit 9fa211f
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 9 deletions.
21 changes: 21 additions & 0 deletions Shifty/Assets.xcassets/shiftyCircleIcon.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "shifty-icon-small.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"images" : [
{
"idiom" : "universal",
"filename" : "shifty-icon-small.png",
"filename" : "shifty-color-512.png",
"scale" : "1x"
},
{
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions Shifty/Base.lproj/CustomTimeWindow.xib
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<constraint firstAttribute="width" constant="65" id="OsD-2Y-1B9"/>
<constraint firstAttribute="width" secondItem="YTT-ok-XCv" secondAttribute="height" multiplier="1:1" id="kN7-u2-9WH"/>
</constraints>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="AppIcon" id="H23-Be-uWH"/>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="shiftyColorIcon" id="H23-Be-uWH"/>
</imageView>
<customView translatesAutoresizingMaskIntoConstraints="NO" id="Lby-a4-HBQ">
<rect key="frame" x="105" y="61" width="250" height="49"/>
Expand Down Expand Up @@ -190,6 +190,6 @@ Gw
</window>
</objects>
<resources>
<image name="AppIcon" width="128" height="128"/>
<image name="shiftyColorIcon" width="245.75999450683594" height="245.75999450683594"/>
</resources>
</document>
4 changes: 2 additions & 2 deletions Shifty/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.4.2</string>
<string>0.5</string>
<key>CFBundleVersion</key>
<string>32</string>
<string>37</string>
<key>Fabric</key>
<dict>
<key>APIKey</key>
Expand Down
2 changes: 1 addition & 1 deletion Shifty/PrefAboutViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class PrefAboutViewController: NSViewController, MASPreferencesViewController {
var viewIdentifier: String = "PrefAboutViewController"

var toolbarItemImage: NSImage? {
get { return #imageLiteral(resourceName: "shiftyColorIcon") }
get { return #imageLiteral(resourceName: "shiftyCircleIcon") }
}

var toolbarItemLabel: String? {
Expand Down
6 changes: 3 additions & 3 deletions Shifty/Setup.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<constraint firstAttribute="width" constant="64" id="C38-De-3i5"/>
<constraint firstAttribute="width" secondItem="zqM-VP-MKT" secondAttribute="height" multiplier="1:1" id="VTn-Ih-aLU"/>
</constraints>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="AppIcon" id="Csb-ai-sDK"/>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="shiftyColorIcon" id="Csb-ai-sDK"/>
</imageView>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" verticalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="mxU-q0-bpJ">
<rect key="frame" x="93" y="317" width="265" height="36"/>
Expand Down Expand Up @@ -550,17 +550,17 @@ DQ
</scene>
</scenes>
<resources>
<image name="AppIcon" width="128" height="128"/>
<image name="NSGoLeftTemplate" width="9" height="12"/>
<image name="NSLeftFacingTriangleTemplate" width="9" height="12"/>
<image name="chromeIcon" width="32" height="32"/>
<image name="menuBarScreenshot" width="362" height="155.5"/>
<image name="safariIcon" width="32" height="32"/>
<image name="shiftyColorIcon" width="245.75999450683594" height="245.75999450683594"/>
<image name="vivaldiIcon" width="32" height="32"/>
<image name="websiteFeatureScreenshot" width="329" height="167"/>
</resources>
<inferredMetricsTieBreakers>
<segue reference="RBK-ii-duJ"/>
<segue reference="OTp-Xx-YUK"/>
<segue reference="Ibe-5u-Fbi"/>
</inferredMetricsTieBreakers>
</document>

0 comments on commit 9fa211f

Please sign in to comment.