From f8a0ee2c84a502c50720ea0d97f5fafd429c26bb Mon Sep 17 00:00:00 2001 From: mahee96 <47920326+mahee96@users.noreply.github.com> Date: Mon, 2 Mar 2026 08:03:41 +0530 Subject: [PATCH] cellular-refresh: disable shortcuts spawning until this feature is complete since it interferes with testing for now. --- AltStore/Operations/InstallAppOperation.swift | 9 ++++++--- AltStore/Operations/SendAppOperation.swift | 6 +++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/AltStore/Operations/InstallAppOperation.swift b/AltStore/Operations/InstallAppOperation.swift index 8b35df38..9bf46298 100644 --- a/AltStore/Operations/InstallAppOperation.swift +++ b/AltStore/Operations/InstallAppOperation.swift @@ -216,8 +216,9 @@ final class InstallAppOperation: ResultOperation // Cell Shortcut DispatchQueue.main.async{ - UIApplication.shared.open(shortcutURLonDelay, options: [:]) { _ in - print("Cell OFF Shortcut finished execution.")} +// UIApplication.shared.open(shortcutURLonDelay, options: [:]) { _ in +// print("Cell OFF Shortcut finished execution.") +// } UIApplication.shared.perform(#selector(NSXPCConnection.suspend)) } })) @@ -238,7 +239,9 @@ final class InstallAppOperation: ResultOperation DispatchQueue.main.async { // Cell Shortcut - UIApplication.shared.open(shortcutURLonDelay, options: [:]) { _ in print("Cell OFF Shortcut finished execution.")} +// UIApplication.shared.open(shortcutURLonDelay, options: [:]) { _ in +// print("Cell OFF Shortcut finished execution.") +// } UIApplication.shared.perform(#selector(NSXPCConnection.suspend)) } } diff --git a/AltStore/Operations/SendAppOperation.swift b/AltStore/Operations/SendAppOperation.swift index a1c6e97d..1b6bdb25 100644 --- a/AltStore/Operations/SendAppOperation.swift +++ b/AltStore/Operations/SendAppOperation.swift @@ -46,13 +46,13 @@ final class SendAppOperation: ResultOperation<()> // Wait for Shortcut to Finish Before Proceeding DispatchQueue.main.async { - UIApplication.shared.open(shortcutURLoff, options: [:]) { _ in - print("Shortcut finished execution. Proceeding with file transfer.") +// UIApplication.shared.open(shortcutURLoff, options: [:]) { _ in +// print("Shortcut finished execution. Proceeding with file transfer.") DispatchQueue.global().async { self.processFile(at: fileURL, for: app.bundleIdentifier) } - } +// } } }