release info setup
This commit is contained in:
parent
6d75cade25
commit
7020620496
|
@ -0,0 +1 @@
|
||||||
|
release.lua
|
4
main.xml
4
main.xml
|
@ -750,6 +750,10 @@
|
||||||
self:luaeffect('Update')
|
self:luaeffect('Update')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if not pcall(function() oat._release = require('release') end) then
|
||||||
|
oat._release = require('release_blank')
|
||||||
|
end
|
||||||
|
|
||||||
local success, result = pcall(function()
|
local success, result = pcall(function()
|
||||||
require('main')
|
require('main')
|
||||||
end)
|
end)
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
-- If fields of this are missing, you likely forgot to run update-release.sh
|
||||||
|
-- If they're missing and you're an end user, you likely downloaded an unstable release through the repository
|
||||||
|
|
||||||
|
return {
|
||||||
|
branch = 'unknown',
|
||||||
|
commit = 'unknown',
|
||||||
|
version = 'unknown',
|
||||||
|
|
||||||
|
name = 'uranium',
|
||||||
|
prettyName = 'Uranium Template',
|
||||||
|
homeURL = 'https://git.oat.zone/oat/uranium-template'
|
||||||
|
}
|
Loading…
Reference in New Issue