Advertisement
minimite

as2in

Feb 20th, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.57 KB | None | 0 0
  1. --App Store 2 installer, by oeed, installer by CodedPixelCube/minimite. This program checks and runs an installer based on if it found OneOS or not, the actual installers are on the paste IDs referenced in the code.
  2.  
  3. if fs.exists("/System/APIs/System.lua") then
  4.   --install as OneOS program 2.0
  5.   print("OneOS 2.0 already has the new app store!")
  6.   error()
  7. elseif fs.exists("/System/API/Bedrock.lua") then
  8.   --install as OneOS program 1.0
  9.   shell.run("pastebin", "run", "v1EJNw9t")
  10. else
  11.   --install as standalone program
  12.   shell.run("pastebin", "run", "BWcwa65j")
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement