From dded8660251db40c180e1f1be34eac8785236c16 Mon Sep 17 00:00:00 2001 From: Magesh K <47920326+mahee96@users.noreply.github.com> Date: Mon, 23 Dec 2024 00:41:19 +0530 Subject: [PATCH] [cleanup]: define operations explicitly --- AltStore/Managing Apps/AppManager.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/AltStore/Managing Apps/AppManager.swift b/AltStore/Managing Apps/AppManager.swift index 295e4720..599a338c 100644 --- a/AltStore/Managing Apps/AppManager.swift +++ b/AltStore/Managing Apps/AppManager.swift @@ -2071,8 +2071,9 @@ private extension AppManager installAppOperation.addDependency(backupAppOperation) progress.addChild(installAppProgress, withPendingUnitCount: 55) - group.add([installBackupAppOperation, backupAppOperation, installAppOperation]) - self.run([installBackupAppOperation, installAppOperation, backupAppOperation], context: group.context) + let operations = [installBackupAppOperation, backupAppOperation, installAppOperation] + group.add(operations) + self.run(operations, context: group.context) return progress }