Skip to content

Commit

Permalink
v2.0.4: 修复勾选信任设备后不生效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
iHTCboy committed Apr 9, 2022
1 parent d3fb04c commit f211388
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 13 deletions.
8 changes: 4 additions & 4 deletions AppleParty.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,7 @@
CODE_SIGN_ENTITLEMENTS = AppleParty/AppleParty.entitlements;
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 2022.04.09;
CURRENT_PROJECT_VERSION = 2022.04.10;
DEVELOPMENT_TEAM = "";
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = AppleParty/Info.plist;
Expand All @@ -1090,7 +1090,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.0.3;
MARKETING_VERSION = 2.0.4;
PRODUCT_BUNDLE_IDENTIFIER = cn.com.37iOS.AppleParty;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1111,7 +1111,7 @@
CODE_SIGN_ENTITLEMENTS = AppleParty/AppleParty.entitlements;
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 2022.04.09;
CURRENT_PROJECT_VERSION = 2022.04.10;
DEVELOPMENT_TEAM = "";
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = AppleParty/Info.plist;
Expand All @@ -1124,7 +1124,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.0.3;
MARKETING_VERSION = 2.0.4;
PRODUCT_BUNDLE_IDENTIFIER = cn.com.37iOS.AppleParty;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion AppleParty/AppSettingView/APSettingVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class APSettingVC: NSViewController {
@IBOutlet weak var sPasswordBtn: NSButton!
@IBOutlet weak var clearCacheBtn: NSButton!

@IBAction func clickedSAccountBtn(_ sender: NSButton) {
@IBAction func clickedTrusDeviceBtn(_ sender: NSButton) {
InfoCenter.shared.trusDevice = sender.state == .on ? true : false
}

Expand Down
2 changes: 1 addition & 1 deletion AppleParty/AppSettingView/APSettingVC.xib
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="clickedSAccountBtn:" target="-2" id="TnY-cG-QOJ"/>
<action selector="clickedTrusDeviceBtn:" target="-2" id="n1j-ha-ysp"/>
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="OeI-Rx-XtW">
Expand Down
4 changes: 4 additions & 0 deletions AppleParty/LoginView/APLogin2FAVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ class APLogin2FAVC: NSViewController {
@IBAction func clickedVerifyBtn(_ sender: NSButton) {
verifySecurityCode()
}

@IBAction func clickedTrusDeviceBtn(_ sender: NSButton) {
InfoCenter.shared.trusDevice = sender.state == .on ? true : false
}
}


Expand Down
3 changes: 3 additions & 0 deletions AppleParty/LoginView/APLogin2FAVC.xib
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ DQ
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" size="13" name="STSongti-SC-Regular"/>
</buttonCell>
<connections>
<action selector="clickedTrusDeviceBtn:" target="-2" id="iIm-cY-7Z6"/>
</connections>
</button>
</subviews>
<constraints>
Expand Down
6 changes: 6 additions & 0 deletions AppleParty/SparkleUpdate/AppleParty-release.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
-->
<body>
<div class="release">
<h2>v2.0.4<span class="date">2022-04-10</span></h2>
<ul class="fl">
<li class="f">修复勾选信任设备后不生效的问题</li>
</ul>
</div>
<div class="release">
<h2>v2.0.3<span class="date">2022-04-09</span></h2>
<ul class="fl">
Expand Down
14 changes: 7 additions & 7 deletions AppleParty/SparkleUpdate/update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<description>Most recent changes with links to updates.</description>
<language>zh_CN</language>
<item>
<title>Version 2.0.3</title>
<title>Version 2.0.4</title>
<sparkle:releaseNotesLink>https://37iOS.GitHub.io/Sparkle/AppleParty-release.html</sparkle:releaseNotesLink>
<pubDate>2022-04-09</pubDate>
<pubDate>2022-04-10</pubDate>
<enclosure
url="https://github.com/37iOS/AppleParty/releases/download/2.0.3/AppleParty-v2.0.3.zip"
sparkle:shortVersionString="2.0.3"
sparkle:version="2022.04.09"
url="https://github.com/37iOS/AppleParty/releases/download/2.0.4/AppleParty-v2.0.4.zip"
sparkle:shortVersionString="2.0.4"
sparkle:version="2022.04.10"
type="application/octet-stream"
sparkle:edSignature="2eo/kf0Kz+HAuLQhdTjVu/y/RYn3LK2RgpDbO12fn0PpR8G+TVYruNvMQKC790aAlMa+j+3IatL6JPpXEEufCw=="
length="11576377"
sparkle:edSignature="0xx71tIiqTFovLz+g/XzFDbkG21pwQFtsp5wnmJkdZhy53ht1O+/9OiOnf0kLrt5ICNT2RHKJX1w4lhtI7moCQ=="
length="11576343"
/>
<sparkle:minimumSystemVersion>10.13</sparkle:minimumSystemVersion>
</item>
Expand Down

0 comments on commit f211388

Please sign in to comment.