Switch internal download dir to cache dir
This commit is contained in:
parent
6d27eb7f64
commit
267868c3b0
@ -34,7 +34,7 @@ public class DownloadApp {
|
||||
}
|
||||
|
||||
private static void dlInstall(String name, ManagerDownloadListener listener) {
|
||||
File apk = new File(App.self.getFilesDir(), "manager.apk");
|
||||
File apk = new File(App.self.getCacheDir(), "manager.apk");
|
||||
ProgressNotification progress = new ProgressNotification(name);
|
||||
listener.setProgressNotification(progress);
|
||||
Networking.get(Data.managerLink)
|
||||
|
@ -118,7 +118,7 @@ public abstract class MagiskInstaller {
|
||||
|
||||
console.add("- Device platform: " + Build.CPU_ABI);
|
||||
|
||||
File zip = new File(App.self.getFilesDir(), "magisk.zip");
|
||||
File zip = new File(App.self.getCacheDir(), "magisk.zip");
|
||||
|
||||
if (!ShellUtils.checkSum("MD5", zip, Data.magiskMD5)) {
|
||||
console.add("- Downloading zip");
|
||||
|
Loading…
Reference in New Issue
Block a user