fix: Retrieve app information from patched app

This commit is contained in:
oSumAtrIX
2023-09-30 21:40:03 +02:00
parent c4a795418f
commit 2b4b3ca0a5
2 changed files with 13 additions and 13 deletions

View File

@ -285,7 +285,7 @@ class InstallerViewModel extends BaseViewModel {
// In case a patch changed the app name or package name,
// update the app info.
final app = await DeviceApps.getAppFromStorage(_app.apkFilePath);
final app = await DeviceApps.getAppFromStorage(_patcherAPI.outFile!.path);
if (app != null) {
_app.name = app.appName;
_app.packageName = app.packageName;