Commit 05baa3c2 by amateur

1

1 parent 93708b7e
...@@ -149,6 +149,7 @@ android { ...@@ -149,6 +149,7 @@ android {
resValue "string", "app_name", "NAFMII之窗-dev" resValue "string", "app_name", "NAFMII之窗-dev"
applicationIdSuffix "dev" applicationIdSuffix "dev"
buildConfigField "String", "H5_VERSION", "\"1.0.0\"" buildConfigField "String", "H5_VERSION", "\"1.0.0\""
buildConfigField "String", "ASSETS_DIST_DIR", "\"dev\""
buildConfigField "String", "WX_APPID", "\"wx06a3b88ecb27f0d8\"" buildConfigField "String", "WX_APPID", "\"wx06a3b88ecb27f0d8\""
buildConfigField "String", "QQ_APPID", "\"101975384\"" buildConfigField "String", "QQ_APPID", "\"101975384\""
buildConfigField "String", "API_HOST", "\"http://10.10.81.189/nafmii/app/\"" buildConfigField "String", "API_HOST", "\"http://10.10.81.189/nafmii/app/\""
......
...@@ -32,7 +32,7 @@ public class WebVersionUtils { ...@@ -32,7 +32,7 @@ public class WebVersionUtils {
} }
public static File getDistZip(String version) { public static File getDistZip(String version) {
return new File(getDistDir(version), "dist.zip"); return new File(getDistDir(version).getParentFile(), "dist.zip");
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!