Commit 1c58f8ad by amateur

1

1 parent 6a80b26e
......@@ -15,8 +15,8 @@ import java.util.zip.ZipInputStream;
public class ZipUtils {
public static void unZipDistAssets() {
// 已经存在,则不解压
if (FileUtils.getIndex().exists()) {
// 已经存在,则不解压 或者 线上版本不需要解压
if (FileUtils.getIndex().exists() || BuildConfig.ONLINE) {
return;
}
File distDir = FileUtils.getDistDir().getParentFile();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!