mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-05-02 23:04:25 +02:00
fix: Move installation log to correct place
This commit is contained in:
parent
91837ebade
commit
c4a795418f
@ -279,7 +279,6 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
);
|
);
|
||||||
isInstalled = await _patcherAPI.installPatchedFile(_app);
|
isInstalled = await _patcherAPI.installPatchedFile(_app);
|
||||||
if (isInstalled) {
|
if (isInstalled) {
|
||||||
update(1.0, 'Installed!', 'Installed!');
|
|
||||||
_app.isFromStorage = false;
|
_app.isFromStorage = false;
|
||||||
_app.patchDate = DateTime.now();
|
_app.patchDate = DateTime.now();
|
||||||
_app.appliedPatches = _patches.map((p) => p.name).toList();
|
_app.appliedPatches = _patches.map((p) => p.name).toList();
|
||||||
@ -293,6 +292,8 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
await _managerAPI.savePatchedApp(_app);
|
await _managerAPI.savePatchedApp(_app);
|
||||||
|
|
||||||
|
update(1.0, 'Installed!', 'Installed!');
|
||||||
}
|
}
|
||||||
} on Exception catch (e) {
|
} on Exception catch (e) {
|
||||||
if (kDebugMode) {
|
if (kDebugMode) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user