1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-14 20:20:30 +00:00

Add about program for easier version identification (#936)

This commit is contained in:
JackMacWindows 2021-10-08 06:29:52 -04:00 committed by GitHub
parent ca367e7cc7
commit 9f539dbd59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -71,6 +71,7 @@
:max :max
_CC_DEFAULT_SETTINGS _CC_DEFAULT_SETTINGS
_CC_DISABLE_LUA51_FEATURES _CC_DISABLE_LUA51_FEATURES
_HOST
;; Ideally we'd pick these up from bios.lua, but illuaminate currently ;; Ideally we'd pick these up from bios.lua, but illuaminate currently
;; isn't smart enough. ;; isn't smart enough.
sleep write printError read rs))) sleep write printError read rs)))

View File

@ -0,0 +1,4 @@
-- Prints information about CraftOS
term.setTextColor(colors.yellow)
print(os.version() .. " on " .. _HOST)
term.setTextColor(colors.white)