Commit 267868c3 authored by topjohnwu's avatar topjohnwu

Switch internal download dir to cache dir

parent 6d27eb7f
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment