mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
[cleanup]: define operations explicitly
This commit is contained in:
@@ -2071,8 +2071,9 @@ private extension AppManager
|
|||||||
installAppOperation.addDependency(backupAppOperation)
|
installAppOperation.addDependency(backupAppOperation)
|
||||||
progress.addChild(installAppProgress, withPendingUnitCount: 55)
|
progress.addChild(installAppProgress, withPendingUnitCount: 55)
|
||||||
|
|
||||||
group.add([installBackupAppOperation, backupAppOperation, installAppOperation])
|
let operations = [installBackupAppOperation, backupAppOperation, installAppOperation]
|
||||||
self.run([installBackupAppOperation, installAppOperation, backupAppOperation], context: group.context)
|
group.add(operations)
|
||||||
|
self.run(operations, context: group.context)
|
||||||
|
|
||||||
return progress
|
return progress
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user