refactor: streamline the repo again and removed unused files from altstore

This commit is contained in:
mahee96
2026-02-22 21:27:31 +05:30
parent 747a9c7b5a
commit 6d4cbf1c59
91 changed files with 3093 additions and 627 deletions

View File

@@ -8,7 +8,6 @@
import AppIntents
import WidgetKit
import AltStoreCore
// Shouldn't conform types we don't own to protocols we don't own, so make custom

View File

@@ -7,8 +7,6 @@
//
import Foundation
import minimuxer
import AltStoreCore
@available(iOS 14, *)
@@ -41,7 +39,7 @@ final class IntentHandler: NSObject, RefreshAllIntentHandling
// Give ourselves 9 extra seconds before starting handle() timeout timer.
// 10 seconds or longer results in timeout regardless.
self.queue.asyncAfter(deadline: .now() + 8.0) {
if minimuxer.ready() {
if isMinimuxerReady {
self.finish(intent, response: RefreshAllIntentResponse(code: .success, userActivity: nil))
} else {
self.finish(intent, response: RefreshAllIntentResponse(code: .failure, userActivity: nil))
@@ -90,7 +88,7 @@ final class IntentHandler: NSObject, RefreshAllIntentHandling
// We took too long to finish and return the final result,
// so we'll now present a normal notification when finished.
operation.presentsFinishedNotification = true
if minimuxer.ready() {
if isMinimuxerReady {
self.finish(intent, response: RefreshAllIntentResponse(code: .success, userActivity: nil))
} else {
self.finish(intent, response: RefreshAllIntentResponse(code: .failure, userActivity: nil))