Skip to content
This repository was archived by the owner on Aug 12, 2024. It is now read-only.

Commit c8b43cb

Browse files
committed
all the stuff
1 parent 56c786a commit c8b43cb

File tree

6 files changed

+11
-4
lines changed

6 files changed

+11
-4
lines changed

.replit

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
language="lua"
2-
run="lua BOOT_CORE.lua"
2+
run="sh run.sh"
3+
4+

BOOT_CORE.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--DO NOT RENAME THIS FILE OR THE PROGRAM WILL ERROR
2-
os.execute("clear")
2+
--os.execute("clear")
33
print("BOOTING UP")
44
require("CORE/DEF")
5+
wait(1)
56
SYSprint("BOOT SYSTEM","RUNNING ".. _VERSION)
67
require("CORE/SECURE_BOOT_CORE")

CORE/DEF.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ SYSprint("BOOT SYSTEM","DEFINING SYSwrite")
88
function SYSwrite(pname,txt)
99
io.write("["..pname.."]".." "..txt)
1010
end
11+
1112
SYSprint("BOOT SYSTEM","DEFINING wait")
1213
function wait(seconds)
1314
local start = os.time()
@@ -25,7 +26,7 @@ function C_ERROR(FC)
2526
print("AN ERROR HAS OCURRED AND LUA CLI HAS BEEN SHUT DOWN TO PREVENT DAMAGE TO YOUR COMPUTER. SUPPORT CODE: 0x4e4f545f50524f5649444544")
2627
os.exit(2)
2728
else
28-
print("AN ERROR HAS OCURRED AND LUA CLI HAS BEEN SHUT DOWN TO PREVENT DAMAGE TO YOUR COMPUTER. SUPPORT CODE: ".. "0x" .. FC)
29+
print("AN ERROR HAS OCURRED AND LUA CLI HAS BEEN SHUT DOWN TO PREVENT DAMAGE TO YOUR COMPUTER.")
2930
os.exit(2)
3031
end
3132
else

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# lua-cli
2-
I NO LONGER UPDATE THIS REPOSITORY OFTEN
2+
**I NO LONGER UPDATE THIS REPOSITORY OFTEN**

a.out

Whitespace-only changes.

run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
clear
2+
echo READ README.md BEFORE CONTINUING
3+
lua BOOT_CORE.lua

0 commit comments

Comments
 (0)