Commit 93c4cf1f authored by Danny SMc's avatar Danny SMc

Updated installer

parent d7ced2e3
......@@ -24,11 +24,11 @@ write("> ");
setColour("white", "black");
local path = tostring(read());
setColour("orange", "black");
print("Checking, please wait...", false, 0.5);
print("Checking, please wait...");
if fs.exists(path) then
error("File already exists in that path...");
end
print("Installing, please wait...", false, 0.5);
print("Installing, please wait...");
local url = 'https://discoverapi.xyz/files/download/discoverapp/lua';
local d = http.get(url)
......@@ -37,4 +37,4 @@ local f = fs.open(path, "w")
f.write(data)
f.close();
print("Success!! Discover is installed as: " .. path, true, 0.5);
\ No newline at end of file
print("Success!! Discover is installed as: " .. path);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment