mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-12 08:13:26 +01:00
Rename AltStore with variables (#17)
* iOS 14 for xcode 14 errors Signed-off-by: Joseph Mattello <mail@joemattiello.com> * add group.APP_GROUP to more plists Signed-off-by: Joseph Mattello <mail@joemattiello.com> * reorder altid groups Signed-off-by: Joseph Mattello <mail@joemattiello.com> * update to newer sparkle api Signed-off-by: Joseph Mattello <mail@joemattiello.com> * fix warnings in altsign and libmobdevice Signed-off-by: Joseph Mattello <mail@joemattiello.com> Co-authored-by: JJTech <jjtech@jjtech.dev>
This commit is contained in:
@@ -44,7 +44,8 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
@IBOutlet private var installMailPluginMenuItem: NSMenuItem!
|
||||
@IBOutlet private var installAltStoreMenuItem: NSMenuItem!
|
||||
@IBOutlet private var sideloadAppMenuItem: NSMenuItem!
|
||||
|
||||
@IBOutlet private var checkForUpdatesMenuItem: NSMenuItem!
|
||||
|
||||
private weak var authenticationAppleIDTextField: NSTextField?
|
||||
private weak var authenticationPasswordTextField: NSSecureTextField?
|
||||
|
||||
@@ -56,23 +57,18 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
|
||||
private var isAltPluginUpdateAvailable = false
|
||||
|
||||
func applicationDidFinishLaunching(_ aNotification: Notification)
|
||||
{
|
||||
@IBOutlet private var updaterController: SPUStandardUpdaterController! = {
|
||||
return SPUStandardUpdaterController(startingUpdater: true, updaterDelegate: nil, userDriverDelegate: nil)
|
||||
}()
|
||||
|
||||
func applicationDidFinishLaunching(_ aNotification: Notification) {
|
||||
UserDefaults.standard.registerDefaults()
|
||||
|
||||
UNUserNotificationCenter.current().delegate = self
|
||||
|
||||
ServerConnectionManager.shared.start()
|
||||
ALTDeviceManager.shared.start()
|
||||
|
||||
#if STAGING
|
||||
let feedURL: String = Bundle.main.infoDictionary!["SUFeedURL"]! as! String
|
||||
#else
|
||||
let feedURL: String = Bundle.main.infoDictionary!["SUFeedURL"]! as! String
|
||||
#endif
|
||||
|
||||
SUUpdater.shared().feedURL = URL(string: feedURL)
|
||||
|
||||
|
||||
let item = NSStatusBar.system.statusItem(withLength: -1)
|
||||
item.menu = self.appMenu
|
||||
item.button?.image = NSImage(named: "MenuBarIcon")
|
||||
@@ -610,3 +606,12 @@ extension AppDelegate: UNUserNotificationCenterDelegate
|
||||
completionHandler([.alert, .sound, .badge])
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Sparkle
|
||||
//extension AppDelegate: SPUUpdaterDelegate {
|
||||
//
|
||||
//}
|
||||
//
|
||||
//extension AppDelegate: SPUStandardUserDriverDelegate {
|
||||
//
|
||||
//}
|
||||
|
||||
Reference in New Issue
Block a user