mirror of
https://github.com/kepler155c/opus
synced 2025-04-18 08:43:11 +00:00
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'
|
||||
|
||||
if fs.exists('.opus_version') then
|
||||
local f = fs.open('.opus_version')
|
||||
local f = fs.open('.opus_version', 'r')
|
||||
local date = f.readLine()
|
||||
f.close()
|
||||
date = type(date) == 'string' and Util.split(date)[1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user