fix: Move installation log to correct place

This commit is contained in:
oSumAtrIX 2023-09-30 21:13:32 +02:00
parent 91837ebade
commit c4a795418f
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -279,7 +279,6 @@ class InstallerViewModel extends BaseViewModel {
);
isInstalled = await _patcherAPI.installPatchedFile(_app);
if (isInstalled) {
update(1.0, 'Installed!', 'Installed!');
_app.isFromStorage = false;
_app.patchDate = DateTime.now();
_app.appliedPatches = _patches.map((p) => p.name).toList();
@ -293,6 +292,8 @@ class InstallerViewModel extends BaseViewModel {
}
await _managerAPI.savePatchedApp(_app);
update(1.0, 'Installed!', 'Installed!');
}
} on Exception catch (e) {
if (kDebugMode) {