Ledger Nano X - The secure hardware wallet
SHARE
TWEET

quickMiner installer

kssr3951 May 6th, 2017 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local files = { };
  2. if fs.exists("quickMiner") then
  3.   table.insert(files, "quickMiner")
  4. end
  5. if fs.exists("beacon") then
  6.   table.insert(files, "beacon")
  7. end
  8.  if 0 < #files then
  9.   for _, val in ipairs(files) do
  10.     print(val)
  11.   end
  12.   print(tostring(#files) .. " file(s) exists.")
  13.   print("overwrite? (y/n)")
  14.   local ch = read()
  15.   if ch ~= "y" then
  16.     print("Installation was canceled.")
  17.     return
  18.   end  
  19.   for _, val in ipairs(files) do
  20.     fs.delete(val)
  21.   end
  22. end
  23. print("Installing...")
  24. shell.run("pastebin get RjsxGDTF quickMiner")
  25. shell.run("pastebin get hjGie0QG beacon")
  26. print("Installation was completed.")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top