Threads merged. Again. Stop creating new topics for help with the same script.
2
how do you make a program to modify if your os is craftos?
Started by thegreatstudio, May 01 2013 12:47 PM
62 replies to this topic
#61
Posted 03 May 2013 - 09:33 AM
#62
Posted 03 May 2013 - 12:10 PM
You could look for certain files that a OS would install. But then you would have to go out of your way and see how each OS installs their files.
#63
Posted 03 May 2013 - 02:47 PM
if fs.exists("ihome") then
-- your using ihomeos
elseif fs.exists("ndfui") then
-- your using ndfui
else
-- your using craftos
end
each OS has a different file assoiated with it
not many oses actually work so why would you want to anyway?
-- your using ihomeos
elseif fs.exists("ndfui") then
-- your using ndfui
else
-- your using craftos
end
each OS has a different file assoiated with it
not many oses actually work so why would you want to anyway?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users