mirror of
https://github.com/SideStore/SideStore.git
synced 2026-03-27 12:55:40 +01:00
cellular-refresh: disable shortcuts spawning until this feature is complete since it interferes with testing for now.
This commit is contained in:
@@ -216,8 +216,9 @@ final class InstallAppOperation: ResultOperation<InstalledApp>
|
|||||||
// Cell Shortcut
|
// Cell Shortcut
|
||||||
|
|
||||||
DispatchQueue.main.async{
|
DispatchQueue.main.async{
|
||||||
UIApplication.shared.open(shortcutURLonDelay, options: [:]) { _ in
|
// UIApplication.shared.open(shortcutURLonDelay, options: [:]) { _ in
|
||||||
print("Cell OFF Shortcut finished execution.")}
|
// print("Cell OFF Shortcut finished execution.")
|
||||||
|
// }
|
||||||
UIApplication.shared.perform(#selector(NSXPCConnection.suspend))
|
UIApplication.shared.perform(#selector(NSXPCConnection.suspend))
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
@@ -238,7 +239,9 @@ final class InstallAppOperation: ResultOperation<InstalledApp>
|
|||||||
|
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
// Cell Shortcut
|
// 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))
|
UIApplication.shared.perform(#selector(NSXPCConnection.suspend))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,13 +46,13 @@ final class SendAppOperation: ResultOperation<()>
|
|||||||
|
|
||||||
// Wait for Shortcut to Finish Before Proceeding
|
// Wait for Shortcut to Finish Before Proceeding
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
UIApplication.shared.open(shortcutURLoff, options: [:]) { _ in
|
// UIApplication.shared.open(shortcutURLoff, options: [:]) { _ in
|
||||||
print("Shortcut finished execution. Proceeding with file transfer.")
|
// print("Shortcut finished execution. Proceeding with file transfer.")
|
||||||
|
|
||||||
DispatchQueue.global().async {
|
DispatchQueue.global().async {
|
||||||
self.processFile(at: fileURL, for: app.bundleIdentifier)
|
self.processFile(at: fileURL, for: app.bundleIdentifier)
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user