Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Installer made by AlexZapl for LevelOS--
- --I don`t own any rights for wave-amp2 or its api`s--
- if fs.exists("/Program_Files/wave-amp2/wave-amp2") and fs.exists("/bbpack") then
- print("You have already installed wave-amp2 and all needed files")
- print("Do you want to install common song library? Yes/No")
- local answer = io.read()
- if string.lower(answer) == "da" or string.lower(answer) == "d" or string.lower(answer) == "yes" or string.lower(answer) == "y" then
- fs.makeDir("/User/Songs")
- shell.run("bbpack get CYRmLz78 /User/Songs")
- end
- return
- end
- print("Download wave-amp? (music player) Yes/No")
- local answer = io.read()
- if string.lower(answer) == "da" or string.lower(answer) == "d" or string.lower(answer) == "yes" or string.lower(answer) == "y" then
- if not fs.exists("/Program_Files/wave-amp2/wave-amp2") then
- print("Downloading wave-amp2...")
- shell.run("pastebin get nKyXwuuf /Program_Files/wave-amp2/wave-amp2")
- end
- if not fs.exists("/bbpack") then
- print("Downloading bbpack...")
- shell.run("pastebin get cUYTGbpb /bbpack")
- end
- print("Create shortcut to desktop? Yes/No")
- local answer = io.read()
- if string.lower(answer) == "da" or string.lower(answer) == "d" or string.lower(answer) == "yes" or string.lower(answer) == "y" then
- local file = fs.open("User/Desktop/wave-amp2.lua", "w")
- file.write("shell.run(\"/Program_Files/wave-amp2/wave-amp2\")")
- file.close()
- end
- print("Do you want to install common song library? Yes/No")
- local answer = io.read()
- if string.lower(answer) == "da" or string.lower(answer) == "d" or string.lower(answer) == "yes" or string.lower(answer) == "y" then
- fs.makeDir("/User/Songs")
- shell.run("bbpack get CYRmLz78 /User/Songs")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement