把当前版本信息从conf里独立出来,方便ci读取信息

This commit is contained in:
MrZ626
2021-08-14 22:15:43 +08:00
parent adb205d8fa
commit 3e4963e56c
3 changed files with 10 additions and 9 deletions

View File

@@ -1,10 +1,3 @@
VERSION={
build=359,
code=1601,
string="V0.16.1@DEV",
room="V1.1",
name="深空 Deep space",
}
function love.conf(t)
t.identity='Techmino'--Saving folder
t.version="11.1"
@@ -17,7 +10,7 @@ function love.conf(t)
end
local W=t.window
W.title="Techmino "..VERSION.string
W.title="Techmino "..require"version".string
W.icon="media/image/icon.png"
W.width,W.height=1280,720
W.minwidth,W.minheight=640,360
@@ -39,4 +32,4 @@ function love.conf(t)
M.graphics,M.font,M.image=true,true,true
M.mouse,M.touch,M.keyboard,M.joystick=true,true,true,true
M.physics=false
end
end

View File

@@ -20,6 +20,7 @@
--Declaration
local fs=love.filesystem
VERSION=require"version"
TIME=love.timer.getTime
YIELD=coroutine.yield
SYSTEM=love.system.getOS()

7
version.lua Normal file
View File

@@ -0,0 +1,7 @@
return{
["apkCode"]=359,
["code"]=1601,
["string"]="V0.16.1@DEV",
["room"]="V1.1",
["name"]="深空 Deep space",
}