安卓不再每次启动时复制动态库文件

This commit is contained in:
MrZ626
2021-04-23 15:48:21 +08:00
parent 5af3021d08
commit a96b308c28
2 changed files with 28 additions and 19 deletions

View File

@@ -41,7 +41,7 @@ for _,name in next,fs.getDirectoryItems("")do
end
--Create directories
for _,v in next,{"conf","record","replay","cache"}do
for _,v in next,{"conf","record","replay","cache","lib"}do
local info=fs.getInfo(v)
if not info then
fs.createDirectory(v)
@@ -268,6 +268,10 @@ do
needSave=true
autoRestart=true
end
if STAT.version<1405 then
fs.remove("conf/user")
autoRestart=true
end
for _,v in next,VK_org do
if not v.color then