|
@@ -77,7 +77,7 @@ class SplashActivity : AppCompatActivity() {
|
|
|
|
|
|
if(!File(UrlConstant.appGameRootPath + File.separator + 8 + File.separator + "index.html").exists()){
|
|
if(!File(UrlConstant.appGameRootPath + File.separator + 8 + File.separator + "index.html").exists()){
|
|
FileUtil.copyAssetFile(AppContext.getContext() , "com-swago-magical-piggy.zip" , File(UrlConstant.appGameRootPath + File.separator + 8 + File.separator + "com-swago-magical-piggy.zip"))
|
|
FileUtil.copyAssetFile(AppContext.getContext() , "com-swago-magical-piggy.zip" , File(UrlConstant.appGameRootPath + File.separator + 8 + File.separator + "com-swago-magical-piggy.zip"))
|
|
- SpUtil.putInt("8", 31)
|
|
|
|
|
|
+ SpUtil.putInt("8", 33)
|
|
val t = UrlConstant.appGameRootPath + File.separator + 8
|
|
val t = UrlConstant.appGameRootPath + File.separator + 8
|
|
FileUtil.upZipFile(UrlConstant.appGameRootPath + File.separator + 8 + File.separator + "com-swago-magical-piggy.zip" , t + File.separator)
|
|
FileUtil.upZipFile(UrlConstant.appGameRootPath + File.separator + 8 + File.separator + "com-swago-magical-piggy.zip" , t + File.separator)
|
|
}
|
|
}
|