From fc8341e3fbf4c1a4604e1044c5af41062281a5b5 Mon Sep 17 00:00:00 2001 From: hawkfalcon Date: Mon, 14 May 2018 14:16:49 -0700 Subject: [PATCH] Allow use on earlier versions (10.11), new beta logo. --- Peregrine.xcodeproj/project.pbxproj | 8 +++--- .../peregrine-logo.imageset/Contents.json | 24 ++++++++++++++++++ .../peregrine-logo2.png | Bin 0 -> 1073 bytes .../peregrine-logo2.imageset/Contents.json | 24 ++++++++++++++++++ .../peregrine-logo.png | Bin 0 -> 1095 bytes Peregrine/Base.lproj/Main.storyboard | 3 ++- Peregrine/Data/Constants.swift | 2 +- 7 files changed, 55 insertions(+), 6 deletions(-) create mode 100644 Peregrine/Assets.xcassets/peregrine-logo.imageset/Contents.json create mode 100644 Peregrine/Assets.xcassets/peregrine-logo.imageset/peregrine-logo2.png create mode 100644 Peregrine/Assets.xcassets/peregrine-logo2.imageset/Contents.json create mode 100644 Peregrine/Assets.xcassets/peregrine-logo2.imageset/peregrine-logo.png diff --git a/Peregrine.xcodeproj/project.pbxproj b/Peregrine.xcodeproj/project.pbxproj index 106872c..7e2d451 100644 --- a/Peregrine.xcodeproj/project.pbxproj +++ b/Peregrine.xcodeproj/project.pbxproj @@ -580,7 +580,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.13; + MACOSX_DEPLOYMENT_TARGET = 10.11; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -631,7 +631,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.13; + MACOSX_DEPLOYMENT_TARGET = 10.11; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; @@ -648,7 +648,7 @@ DEVELOPMENT_TEAM = 6VJ9C2YY26; INFOPLIST_FILE = "$(SRCROOT)/Peregrine/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.13; + MACOSX_DEPLOYMENT_TARGET = 10.11; PRODUCT_BUNDLE_IDENTIFIER = com.hawkfalcon.Peregrine; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.0; @@ -665,7 +665,7 @@ DEVELOPMENT_TEAM = 6VJ9C2YY26; INFOPLIST_FILE = "$(SRCROOT)/Peregrine/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.13; + MACOSX_DEPLOYMENT_TARGET = 10.11; PRODUCT_BUNDLE_IDENTIFIER = com.hawkfalcon.Peregrine; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.0; diff --git a/Peregrine/Assets.xcassets/peregrine-logo.imageset/Contents.json b/Peregrine/Assets.xcassets/peregrine-logo.imageset/Contents.json new file mode 100644 index 0000000..c493d8e --- /dev/null +++ b/Peregrine/Assets.xcassets/peregrine-logo.imageset/Contents.json @@ -0,0 +1,24 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "peregrine-logo2.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + }, + "properties" : { + "template-rendering-intent" : "template" + } +} \ No newline at end of file diff --git a/Peregrine/Assets.xcassets/peregrine-logo.imageset/peregrine-logo2.png b/Peregrine/Assets.xcassets/peregrine-logo.imageset/peregrine-logo2.png new file mode 100644 index 0000000000000000000000000000000000000000..6f7eb9de5b9fe884c0282aecd8e8a17afc6165af GIT binary patch literal 1073 zcmeAS@N?(olHy`uVBq!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*rBtqLG8Z$!E)0h z>w6!`&S(GQv?SELF8YT~+jFyPjDMzkJdSbx!!mD`)&t8s`OJ3FC*B?t=d{dT^?;Zqle1Gx6p~WYGxKbf-tXS8q>!0ns}yePYv5bpoSKp8QB{;0T;&&% zT$P<{nWAKG$7NGt1vDTxwIorYA~z?m*s8)-32d$vkPQ;nS5g2gDap1~as*kZ5aAo3 z;GAESs$i;TrkiYNVxVAdsb^?rU}9>hqhMrUXs&Nys&8PXYhY+)U}0rsr~m~@c3cWJ zMJZ`kK`w4k%YZyvrHqo20xNy}^73-Ma$~*xqI7*jOG`_A10#JSBVC{h-Qvo;lEez# zykcdL5fC$6Qj3#|G7CyF^YauyW+o=(mzLNnDd~eO(TCas^qxN4e?SgAgi`Z>!BPbD zzpk^(b_NEf?Vc`ulsjQO%*x*vHxD@5qrUB1}l`W+fQ9&!lJY#Fh)WwNs!~A zlJb?QlcP%?hQ;uRE_!fE%z3K-`yGvrfEk_K+)XmUf~H(kHyV~6%AB)Dci#7>`|jMc zKfm{J<6)h9#dXiEpI6TNY*Rj~;`Kr67l*U1eDwPCma*<|{|~X}AJe68Ee$))P`v~!K6QJQjK12& z--WtDNj&)>qV=5Lm5<0heCl&=n@30CmuZYKT_RZz)@=w``L^%O?#PgueCeaX`d8KwsDN$;Ly&To;|Vu(8} z_}8cSrkd~uquW6XYFX>_HS1QpZ0Y0QxMWd9mU+>a_dlOYOTfXTjGak$}cyr&b-Y`xDDFQPzj~P;pM8+J3b=3&e|xuDLcS_nbd1D6rCB%^|#1 zaVop?<*om3E;Li<`ZMDh|IEG|(S2gubyoUwR44dOt$3JsW@Fx-{_U*~udJ=??&GvS jzW(u=4_CT&>HlLkxxvuz@#DudQ2zIH^>bP0l+XkKNmIq0 literal 0 HcmV?d00001 diff --git a/Peregrine/Base.lproj/Main.storyboard b/Peregrine/Base.lproj/Main.storyboard index 3533f7c..897e2c4 100644 --- a/Peregrine/Base.lproj/Main.storyboard +++ b/Peregrine/Base.lproj/Main.storyboard @@ -1,6 +1,7 @@ + @@ -228,7 +229,7 @@ - + diff --git a/Peregrine/Data/Constants.swift b/Peregrine/Data/Constants.swift index 1b79ae5..f6c46d1 100644 --- a/Peregrine/Data/Constants.swift +++ b/Peregrine/Data/Constants.swift @@ -2,7 +2,7 @@ import Cocoa extension NSImage.Name { //TODO: Update Image - static let icon = NSImage.Name("GitHub") + static let icon = NSImage.Name("peregrine-logo") static let defaultProfile = NSImage.Name("GitHub-White") static let copy = NSImage.Name("copy") }