1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-24 18:37:38 +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
2 changed files with 5 additions and 0 deletions

View File

@@ -71,6 +71,7 @@
:max
_CC_DEFAULT_SETTINGS
_CC_DISABLE_LUA51_FEATURES
_HOST
;; Ideally we'd pick these up from bios.lua, but illuaminate currently
;; isn't smart enough.
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)