opus/sys/autorun/welcome.lua

12 lines
243 B
Lua
Raw Normal View History

2019-01-20 03:05:05 +00:00
local Config = require('config')
local shell = _ENV.shell
local config = Config.load('os')
2019-03-27 19:21:31 +00:00
if not config.welcomed and shell.openForegroundTab then
2019-06-18 19:19:24 +00:00
config.welcomed = true
Config.update('os', config)
2019-01-20 03:05:05 +00:00
2019-06-18 19:19:24 +00:00
shell.openForegroundTab('Welcome')
2019-01-20 03:05:05 +00:00
end