Skip to content

Commit 3497633

Browse files
committed
Fixed login menu button
1 parent 487d907 commit 3497633

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

AltServer/AppDelegate.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,15 @@ private extension AppDelegate
323323

324324
private extension AppDelegate {
325325
private func setupLoginMenuItem() {
326+
logInMenuItem.isEnabled = true
326327
do {
327328
let email = try Keychain.shared.getValue(for: .appleIDEmail)
328-
logInMenuItem.isHidden = false
329+
//logInMenuItem.isHidden = false
329330
logInMenuItem.title = "Log out (\(email))"
330331
logInMenuItem.action = #selector(logoutFromAppleID)
331332
} catch {
333+
//logInMenuItem.isHidden = false
334+
logInMenuItem.action = #selector(loginToAppleID)
332335
print("Error getting stored AppleID credentials: \(error)")
333336
}
334337
}

AltServer/Base.lproj/Main.storyboard

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
<menuItem title="Launch at Login" id="IyR-FQ-upe" userLabel="Launch At Login">
8383
<modifierMask key="keyEquivalentModifierMask"/>
8484
</menuItem>
85-
<menuItem title="Log in" id="k7w-cA-c4B">
85+
<menuItem title="Apple ID Login..." id="k7w-cA-c4B">
8686
<modifierMask key="keyEquivalentModifierMask"/>
8787
</menuItem>
8888
<menuItem isSeparatorItem="YES" id="mhj-D5-Ycy"/>

sparkle-macos.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@
55
<description>Most recent changes with links to updates.</description>
66
<language>en</language>
77

8+
<item>
9+
<title>Version 1.0.6</title>
10+
<description><![CDATA[
11+
This update fixes the following issues:
12+
<ul>
13+
<li>Added a manual "Check for update..." menu bar item for users to check themselves if there is a new update</li>
14+
<li>Fixed "updating SideServer" bug. Now checks if it can be updated properly</li>
15+
<li>Notarized app</li>
16+
</ul>
17+
]]>
18+
</description>
19+
<pubDate>Thu, 27 Mar 2023 12:10:00 -0005</pubDate>
20+
<enclosure url="https://github.com/SideStore/SideServer-macOS/releases/download/v1.0.6/SideServer.dmg" sparkle:version="106" sparkle:shortVersionString="1.0.6" length="9862026" type="application/octet-stream"/>
21+
<sparkle:minimumSystemVersion>10.14.4</sparkle:minimumSystemVersion>
22+
</item>
23+
824
<item>
925
<title>Version 1.0.5</title>
1026
<description><![CDATA[

0 commit comments

Comments
 (0)