Update github path

pull/137/head
FongMi 2 years ago
parent 46ac7c8b20
commit dd3fd7552e
  1. 6
      app/src/mobile/java/com/fongmi/android/tv/Updater.java

@ -37,7 +37,7 @@ public class Updater implements Download.Callback {
}
private File getFile() {
return Path.cache(branch.concat(".apk"));
return Path.cache("update.apk");
}
private String getJson() {
@ -48,10 +48,6 @@ public class Updater implements Download.Callback {
return Github.getApk(dev, BuildConfig.FLAVOR_mode + "-" + BuildConfig.FLAVOR_api + "-" + BuildConfig.FLAVOR_abi);
}
private Updater() {
this.branch = Github.RELEASE;
}
public Updater force() {
Notify.show(R.string.update_check);
Setting.putUpdate(true);

Loading…
Cancel
Save