1
0
mirror of https://github.com/kepler155c/opus synced 2024-06-16 18:30:01 +00:00

update notification

This commit is contained in:
kepler155c@gmail.com 2020-04-30 22:05:23 -06:00
parent c5e0ac0af6
commit c622b2f7fb

View File

@ -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]