mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-09-29 15:30:48 +00:00
a4c9e89370
Provides a basic interface for running examples on tweaked.cc. This is probably janky as anything, but it works on my machine. This is the culmination of 18 months of me building far too much infrastructure (copy-cat, illuaminate), so that's nice I guess. I should probably get out more.
6 lines
242 B
Lua
6 lines
242 B
Lua
-- Make the startup file invisible, then run the file. We could use
|
|
-- shell.run, but this ensures the program is in shell history, etc...
|
|
fs.delete("startup.lua")
|
|
os.queueEvent("paste", "example.lua")
|
|
os.queueEvent("key", keys.enter, false)
|