mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +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:
@@ -1,5 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict/>
|
||||
<dict>
|
||||
<key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
|
||||
<array>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)-spks</string>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)-spki</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
@@ -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 {
|
||||
//
|
||||
//}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="19529" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="21179.7" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19529"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21179.7"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
@@ -61,6 +61,7 @@
|
||||
<outlet property="appMenu" destination="uQy-DD-JDr" id="7cY-Ov-AOW"/>
|
||||
<outlet property="authenticationAppleIDTextField" destination="zLd-d8-ghZ" id="wW5-0J-zdq"/>
|
||||
<outlet property="authenticationPasswordTextField" destination="9rp-Vx-rvB" id="ZoC-DI-jzQ"/>
|
||||
<outlet property="checkForUpdatesMenuItem" destination="Tnq-gD-Eic" id="wIe-Tx-KlM"/>
|
||||
<outlet property="connectedDevicesMenu" destination="KJ9-WY-pW1" id="Mcv-64-iFU"/>
|
||||
<outlet property="enableJITMenu" destination="la4-Sa-L3C" id="YrW-hR-uA7"/>
|
||||
<outlet property="installAltStoreMenuItem" destination="MJ8-Lt-SSV" id="KYp-c5-8Ru"/>
|
||||
@@ -68,9 +69,10 @@
|
||||
<outlet property="launchAtLoginMenuItem" destination="IyR-FQ-upe" id="Fxn-EP-hwH"/>
|
||||
<outlet property="sideloadAppMenuItem" destination="x0e-zI-0A2" id="GJo-FY-1GO"/>
|
||||
<outlet property="sideloadIPAConnectedDevicesMenu" destination="IuI-bV-fTY" id="QQw-St-HfG"/>
|
||||
<outlet property="updaterController" destination="9QV-ha-p2H" id="oSL-jR-IAQ"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="Arf-IC-5eb" customClass="SUUpdater"/>
|
||||
<customObject id="9QV-ha-p2H" customClass="SPUStandardUpdaterController"/>
|
||||
<application id="hnw-xV-0zn" sceneMemberID="viewController">
|
||||
<menu key="mainMenu" title="Main Menu" systemMenu="main" id="AYu-sK-qS6">
|
||||
<items>
|
||||
@@ -132,7 +134,7 @@
|
||||
<menuItem title="Check for Updates..." id="Tnq-gD-Eic" userLabel="Check for Updates">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="checkForUpdates:" target="Arf-IC-5eb" id="7JG-du-nr4"/>
|
||||
<action selector="checkForUpdates:" target="9QV-ha-p2H" id="9fB-b9-def"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="hmG-xg-qgm"/>
|
||||
|
||||
Reference in New Issue
Block a user