Computers: Rename BiosOS to octOS
Thanks for the idea OldCoder!
This commit is contained in:
parent
adda987e6b
commit
a4e0a2c875
@ -166,7 +166,7 @@ digicompute.c.forms = {
|
|||||||
"tabheader[0,0;tabs;Command Line,Settings;2]"..
|
"tabheader[0,0;tabs;Command Line,Settings;2]"..
|
||||||
default.gui_bg_img..
|
default.gui_bg_img..
|
||||||
"button[0.5,0.25;9,1;reset;Reset Filesystem]"..
|
"button[0.5,0.25;9,1;reset;Reset Filesystem]"..
|
||||||
"tooltip[reset;Wipes all files and OS data replacing it with the basic BiosOS.]"..
|
"tooltip[reset;Wipes all files and OS data replacing it with the basic octOS.]"..
|
||||||
"label[0.5,10.35;digicompute Version: "..tostring(digicompute.VERSION)..", "..
|
"label[0.5,10.35;digicompute Version: "..tostring(digicompute.VERSION)..", "..
|
||||||
digicompute.RELEASE_TYPE.."]"..
|
digicompute.RELEASE_TYPE.."]"..
|
||||||
"label[0.5,10.75;(c) Copywrite "..tostring(os.date("%Y")).." "..
|
"label[0.5,10.75;(c) Copywrite "..tostring(os.date("%Y")).." "..
|
||||||
@ -262,7 +262,7 @@ function digicompute.c:init(pos)
|
|||||||
if path and path ~= "" then
|
if path and path ~= "" then
|
||||||
digicompute.builtin.mkdir(main_path..meta:get_string("owner"))
|
digicompute.builtin.mkdir(main_path..meta:get_string("owner"))
|
||||||
digicompute.builtin.mkdir(path)
|
digicompute.builtin.mkdir(path)
|
||||||
digicompute.builtin.cpdir(digicompute.modpath.."/bios/", path.."os")
|
digicompute.builtin.cpdir(digicompute.modpath.."/octos/", path.."os")
|
||||||
digicompute.c:run_file(pos, meta:get_string("owner"), "os/start.lua")
|
digicompute.c:run_file(pos, meta:get_string("owner"), "os/start.lua")
|
||||||
digicompute.log("Initialized computer "..meta:get_string("id").." owned by "..
|
digicompute.log("Initialized computer "..meta:get_string("id").." owned by "..
|
||||||
meta:get_string("owner").." at "..minetest.pos_to_string(pos))
|
meta:get_string("owner").." at "..minetest.pos_to_string(pos))
|
||||||
|
@ -5,7 +5,7 @@ set_os("reboot", "shutdown -r")
|
|||||||
set_os("prefix", get_attr("name")..":~$ ")
|
set_os("prefix", get_attr("name")..":~$ ")
|
||||||
|
|
||||||
-- Set initial output value
|
-- Set initial output value
|
||||||
set_output("Welcome to BiosOS version 0.1.\n\n"..get_os("prefix")) -- print welcome
|
set_output("Welcome to octOS version 0.2.\n\n"..get_os("prefix")) -- print welcome
|
||||||
|
|
||||||
-- Refresh view
|
-- Refresh view
|
||||||
refresh()
|
refresh()
|
Loading…
x
Reference in New Issue
Block a user