mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
[AltServer] Uses Sparkle staging URL for STAGING builds
This commit is contained in:
@@ -12,6 +12,7 @@ import UserNotifications
|
||||
import AltSign
|
||||
|
||||
import LaunchAtLogin
|
||||
import Sparkle
|
||||
|
||||
#if STAGING
|
||||
private let altstoreAppURL = URL(string: "https://f000.backblazeb2.com/file/altstore-staging/altstore.ipa")!
|
||||
@@ -62,6 +63,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
ServerConnectionManager.shared.start()
|
||||
ALTDeviceManager.shared.start()
|
||||
|
||||
#if STAGING
|
||||
SUUpdater.shared().feedURL = URL(string: "https://altstore.io/altserver/sparkle-macos-staging.xml")
|
||||
#endif
|
||||
|
||||
let item = NSStatusBar.system.statusItem(withLength: -1)
|
||||
item.menu = self.appMenu
|
||||
item.button?.image = NSImage(named: "MenuBarIcon")
|
||||
|
||||
Reference in New Issue
Block a user