Commit 38174c58 authored by fallenstardust's avatar fallenstardust Committed by GitHub

Merge pull request #39 from mercury233/patch-1

fix expansions file didn't prior to the main zip
parents 2bd454ba fa582215
...@@ -240,9 +240,6 @@ public class AppsSettings { ...@@ -240,9 +240,6 @@ public class AppsSettings {
} }
private void makeZipList(List<String> pathList) { private void makeZipList(List<String> pathList) {
pathList.add(new File(getResourcePath(), Constants.CORE_PICS_ZIP).getAbsolutePath());
pathList.add(new File(getResourcePath(), Constants.CORE_SCRIPTS_ZIP).getAbsolutePath());
//
if (isReadExpansions()) { if (isReadExpansions()) {
File expansionsDir = getExpansionsPath(); File expansionsDir = getExpansionsPath();
if (expansionsDir.exists()) { if (expansionsDir.exists()) {
...@@ -270,6 +267,8 @@ public class AppsSettings { ...@@ -270,6 +267,8 @@ public class AppsSettings {
} }
} }
} }
pathList.add(new File(getResourcePath(), Constants.CORE_PICS_ZIP).getAbsolutePath());
pathList.add(new File(getResourcePath(), Constants.CORE_SCRIPTS_ZIP).getAbsolutePath());
} }
/*** /***
......
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