run autorun programs in shell mode

This commit is contained in:
kepler155c@gmail.com
2019-03-27 15:21:31 -04:00
parent 82f6d3451d
commit 8fede6f507
8 changed files with 127 additions and 96 deletions

View File

@@ -3,7 +3,7 @@ local Config = require('config')
local shell = _ENV.shell
local config = Config.load('os')
if not config.welcomed then
if not config.welcomed and shell.openForegroundTab then
config.welcomed = true
Config.update('os', config)