[cleanup]: renamed identifiers from io.altstore.xxxx to io.sidestore.xxxx

This commit is contained in:
Magesh K
2024-12-13 14:15:55 +05:30
parent 7ac485def0
commit 46ccbe5aad
11 changed files with 24 additions and 24 deletions

View File

@@ -10,10 +10,10 @@ import UIKit
extension AppDelegate extension AppDelegate
{ {
static let startBackupNotification = Notification.Name("io.altstore.StartBackup") static let startBackupNotification = Notification.Name("io.sidestore.StartBackup")
static let startRestoreNotification = Notification.Name("io.altstore.StartRestore") static let startRestoreNotification = Notification.Name("io.sidestore.StartRestore")
static let operationDidFinishNotification = Notification.Name("io.altstore.BackupOperationFinished") static let operationDidFinishNotification = Notification.Name("io.sidestore.BackupOperationFinished")
static let operationResultKey = "result" static let operationResultKey = "result"
} }

View File

@@ -44,8 +44,8 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool
{ {
// Override point for customization after application launch. // Override point for customization after application launch.
UserDefaults.standard.setValue(true, forKey: "com.apple.CoreData.MigrationDebug") // UserDefaults.standard.setValue(true, forKey: "com.apple.CoreData.MigrationDebug")
UserDefaults.standard.setValue(true, forKey: "com.apple.CoreData.SQLDebug") // UserDefaults.standard.setValue(true, forKey: "com.apple.CoreData.SQLDebug")
// Register default settings before doing anything else. // Register default settings before doing anything else.
UserDefaults.registerDefaults() UserDefaults.registerDefaults()
@@ -164,7 +164,7 @@ private extension AppDelegate
let pipeline = ImagePipeline { configuration in let pipeline = ImagePipeline { configuration in
do do
{ {
let dataCache = try DataCache(name: "io.altstore.Nuke") let dataCache = try DataCache(name: "io.sidestore.Nuke")
dataCache.sizeLimit = 512 * 1024 * 1024 // 512MB dataCache.sizeLimit = 512 * 1024 * 1024 // 512MB
configuration.dataCache = dataCache configuration.dataCache = dataCache

View File

@@ -15,8 +15,8 @@ import Nuke
extension UIAction.Identifier extension UIAction.Identifier
{ {
fileprivate static let showAllApps = Self("io.altstore.ShowAllApps") fileprivate static let showAllApps = Self("io.sidestore.ShowAllApps")
fileprivate static let showSourceDetails = Self("io.altstore.ShowSourceDetails") fileprivate static let showSourceDetails = Self("io.sidestore.ShowSourceDetails")
} }
extension FeaturedViewController extension FeaturedViewController

View File

@@ -14,7 +14,7 @@ import AltStoreCore
@available(iOS 14, *) @available(iOS 14, *)
final class IntentHandler: NSObject, RefreshAllIntentHandling final class IntentHandler: NSObject, RefreshAllIntentHandling
{ {
private let queue = DispatchQueue(label: "io.altstore.IntentHandler") private let queue = DispatchQueue(label: "io.sidestore.IntentHandler")
private var completionHandlers = [RefreshAllIntent: (RefreshAllIntentResponse) -> Void]() private var completionHandlers = [RefreshAllIntent: (RefreshAllIntentResponse) -> Void]()
private var queuedResponses = [RefreshAllIntent: RefreshAllIntentResponse]() private var queuedResponses = [RefreshAllIntent: RefreshAllIntentResponse]()

View File

@@ -22,11 +22,11 @@ import Roxas
extension AppManager extension AppManager
{ {
static let didFetchSourceNotification = Notification.Name("io.altstore.AppManager.didFetchSource") static let didFetchSourceNotification = Notification.Name("io.sidestore.AppManager.didFetchSource")
static let didUpdatePatronsNotification = Notification.Name("io.altstore.AppManager.didUpdatePatrons") static let didUpdatePatronsNotification = Notification.Name("io.sidestore.AppManager.didUpdatePatrons")
static let didAddSourceNotification = Notification.Name("io.altstore.AppManager.didAddSource") static let didAddSourceNotification = Notification.Name("io.sidestore.AppManager.didAddSource")
static let didRemoveSourceNotification = Notification.Name("io.altstore.AppManager.didRemoveSource") static let didRemoveSourceNotification = Notification.Name("io.sidestore.AppManager.didRemoveSource")
static let willInstallAppFromNewSourceNotification = Notification.Name("io.altstore.AppManager.willInstallAppFromNewSource") static let willInstallAppFromNewSourceNotification = Notification.Name("io.sidestore.AppManager.willInstallAppFromNewSource")
static let expirationWarningNotificationID = "altstore-expiration-warning" static let expirationWarningNotificationID = "altstore-expiration-warning"
static let enableJITResultNotificationID = "altstore-enable-jit" static let enableJITResultNotificationID = "altstore-enable-jit"

View File

@@ -15,7 +15,7 @@ import Roxas
extension UIApplication extension UIApplication
{ {
static let didChangeAppIconNotification = Notification.Name("io.altstore.AppManager.didChangeAppIcon") static let didChangeAppIconNotification = Notification.Name("io.sidestore.AppManager.didChangeAppIcon")
} }
private final class AltIcon: Decodable private final class AltIcon: Decodable

View File

@@ -16,7 +16,7 @@ import Nuke
private extension UIAction.Identifier private extension UIAction.Identifier
{ {
static let addSource = UIAction.Identifier("io.altstore.AddSource") static let addSource = UIAction.Identifier("io.sidestore.AddSource")
} }
private typealias SourcePreviewResult = (sourceURL: URL, result: Result<Managed<Source>, Error>) private typealias SourcePreviewResult = (sourceURL: URL, result: Result<Managed<Source>, Error>)

View File

@@ -47,7 +47,7 @@ public class DatabaseManager
public private(set) var isStarted = false public private(set) var isStarted = false
private var startCompletionHandlers = [(Error?) -> Void]() private var startCompletionHandlers = [(Error?) -> Void]()
private let dispatchQueue = DispatchQueue(label: "io.altstore.DatabaseManager") private let dispatchQueue = DispatchQueue(label: "io.sidestore.DatabaseManager")
private let coordinator = NSFileCoordinator() private let coordinator = NSFileCoordinator()
private let coordinatorQueue = OperationQueue() private let coordinatorQueue = OperationQueue()

View File

@@ -405,7 +405,7 @@ public extension InstalledApp
class func installedAppUTI(forBundleIdentifier bundleIdentifier: String) -> String class func installedAppUTI(forBundleIdentifier bundleIdentifier: String) -> String
{ {
let installedAppUTI = "io.altstore.Installed." + bundleIdentifier let installedAppUTI = "io.sidestore.Installed." + bundleIdentifier
return installedAppUTI return installedAppUTI
} }

View File

@@ -8,6 +8,6 @@
#import "CFNotificationName+AltStore.h" #import "CFNotificationName+AltStore.h"
CFNotificationName const ALTWiredServerConnectionAvailableRequest = CFSTR("io.altstore.Request.WiredServerConnectionAvailable"); CFNotificationName const ALTWiredServerConnectionAvailableRequest = CFSTR("io.sidestore.Request.WiredServerConnectionAvailable");
CFNotificationName const ALTWiredServerConnectionAvailableResponse = CFSTR("io.altstore.Response.WiredServerConnectionAvailable"); CFNotificationName const ALTWiredServerConnectionAvailableResponse = CFSTR("io.sidestore.Response.WiredServerConnectionAvailable");
CFNotificationName const ALTWiredServerConnectionStartRequest = CFSTR("io.altstore.Request.WiredServerConnectionStart"); CFNotificationName const ALTWiredServerConnectionStartRequest = CFSTR("io.sidestore.Request.WiredServerConnectionStart");

View File

@@ -16,8 +16,8 @@ import Foundation
extension XPCConnection extension XPCConnection
{ {
public static let unc0verMachServiceName = "cy:io.altstore.altdaemon" public static let unc0verMachServiceName = "cy:io.sidestore.altdaemon"
public static let odysseyMachServiceName = "lh:io.altstore.altdaemon" public static let odysseyMachServiceName = "lh:io.sidestore.altdaemon"
public static let machServiceNames = [unc0verMachServiceName, odysseyMachServiceName] public static let machServiceNames = [unc0verMachServiceName, odysseyMachServiceName]
} }
@@ -26,7 +26,7 @@ public class XPCConnection: NSObject, Connection
{ {
public let xpcConnection: NSXPCConnection public let xpcConnection: NSXPCConnection
private let queue = DispatchQueue(label: "io.altstore.XPCConnection") private let queue = DispatchQueue(label: "io.sidestore.XPCConnection")
private let dispatchGroup = DispatchGroup() private let dispatchGroup = DispatchGroup()
private var semaphore: DispatchSemaphore? private var semaphore: DispatchSemaphore?
private var buffer = Data(capacity: 1024) private var buffer = Data(capacity: 1024)