Jump to content




how do you make a program to modify if your os is craftos?



62 replies to this topic

#61 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 03 May 2013 - 09:33 AM

Threads merged. Again. Stop creating new topics for help with the same script.

#62 Sammich Lord

    IRC Addict

  • Members
  • 1,212 posts
  • LocationThe Sammich Kingdom

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 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

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?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users