mirror of https://github.com/kepler155c/opus
update notification
This commit is contained in:
parent
c5e0ac0af6
commit
c622b2f7fb
|
@ -7,7 +7,7 @@ local shell = _ENV.shell
|
||||||
local URL = 'https://raw.githubusercontent.com/kepler155c/opus/%s/.opus_version'
|
local URL = 'https://raw.githubusercontent.com/kepler155c/opus/%s/.opus_version'
|
||||||
|
|
||||||
if fs.exists('.opus_version') then
|
if fs.exists('.opus_version') then
|
||||||
local f = fs.open('.opus_version')
|
local f = fs.open('.opus_version', 'r')
|
||||||
local date = f.readLine()
|
local date = f.readLine()
|
||||||
f.close()
|
f.close()
|
||||||
date = type(date) == 'string' and Util.split(date)[1]
|
date = type(date) == 'string' and Util.split(date)[1]
|
||||||
|
|
Loading…
Reference in New Issue