mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-04-29 21:44:26 +02:00
fix: Use cache directory for the last patched app
This should hopefully solve the issue where it can't write the patched app for some reason
This commit is contained in:
parent
a5c3aa3744
commit
5cc449d4fb
@ -367,7 +367,7 @@ class ManagerAPI {
|
||||
File outFile,
|
||||
) async {
|
||||
deleteLastPatchedApp();
|
||||
final Directory appCache = await getApplicationSupportDirectory();
|
||||
final Directory appCache = await getApplicationCacheDirectory();
|
||||
app.patchedFilePath =
|
||||
outFile.copySync('${appCache.path}/lastPatchedApp.apk').path;
|
||||
app.fileSize = outFile.lengthSync();
|
||||
|
Loading…
x
Reference in New Issue
Block a user