pull/69/head
FongMi 2 years ago
parent 19ced30d2a
commit 6d82e49d97
  1. 1
      app/src/main/java/com/github/catvod/spider/Market.java
  2. BIN
      jar/custom_spider.jar
  3. 2
      jar/custom_spider.jar.md5

@ -85,6 +85,7 @@ public class Market extends Spider {
Response response = OkHttp.newCall(url);
File file = new File(Path.download(), Uri.parse(url).getLastPathSegment());
download(file, response.body().byteStream(), Double.parseDouble(response.header("Content-Length", "1")));
if (file.getName().endsWith(".zip")) FileUtil.unzip(file, Path.download());
if (file.getName().endsWith(".apk")) FileUtil.openFile(Path.chmod(file));
else Utils.notify("下載完成");
dismiss();

Binary file not shown.

@ -1 +1 @@
b2c6912d5489526425cc71c596f4606e
7ac31958d0f3fe1961b8f078afea12ed

Loading…
Cancel
Save