File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -366,7 +366,6 @@ class ManagerAPI {
366
366
PatchedApplication app,
367
367
File outFile,
368
368
) async {
369
- deleteLastPatchedApp ();
370
369
final Directory appCache = await getApplicationSupportDirectory ();
371
370
app.patchedFilePath =
372
371
outFile.copySync ('${appCache .path }/lastPatchedApp.apk' ).path;
@@ -691,16 +690,6 @@ class ManagerAPI {
691
690
patchedApps.addAll (mountedApps);
692
691
693
692
await setPatchedApps (patchedApps);
694
-
695
- // Delete the saved app if the file is not found.
696
- final PatchedApplication ? lastPatchedApp = getLastPatchedApp ();
697
- if (lastPatchedApp != null ) {
698
- final File file = File (lastPatchedApp.patchedFilePath);
699
- if (! file.existsSync ()) {
700
- deleteLastPatchedApp ();
701
- _prefs.remove ('lastPatchedApp' );
702
- }
703
- }
704
693
}
705
694
706
695
Future <bool > isAppUninstalled (PatchedApplication app) async {
You can’t perform that action at this time.
0 commit comments