mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Remove extra returns and make sure to decrement
This commit is contained in:
committed by
nythepegasus
parent
cc5c280882
commit
980699af6f
@@ -175,7 +175,8 @@ final class InstallAppOperation: ResultOperation<InstalledApp>
|
||||
self.finish(.success(installedApp))
|
||||
break
|
||||
} catch {
|
||||
if (attempts == 0){
|
||||
attempts -= 1
|
||||
if (attempts <= 0){
|
||||
installing = false
|
||||
self.finish(.failure(MinimuxerError.InstallApp))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user