mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 11:02:20 +00:00
Merge branch 'master' into android
This commit is contained in:
@@ -281,7 +281,7 @@ RELEASE_WIN_64=false
|
||||
RELEASE_APK=false
|
||||
|
||||
if [ "$FOUND_LUA" = true ] && [ -f "conf.lua" ]; then
|
||||
LOVE_VERSION_AUTO=$(lua -e 'f = loadfile("conf.lua"); t, love = {window = {}, modules = {}}, {}; f(); love.conf(t); print(t.version)')
|
||||
LOVE_VERSION_AUTO=$(lua -e 'f = loadfile("conf.lua"); t, love = {window = {}, modules = {}}, {}; f(); love.conf(t); t.version = t.version or ""; print(t.version)')
|
||||
else
|
||||
LOVE_VERSION_AUTO=$(grep -Eo -m 1 "t.version = \"[0-9]+.[0-9]+.[0-9]+\"" conf.lua 2> /dev/null | grep -Eo "[0-9]+.[0-9]+.[0-9]+")
|
||||
fi
|
||||
|
Reference in New Issue
Block a user