From 37f21d5d0c4348ccb8d5f851faf04c401cf53941 Mon Sep 17 00:00:00 2001 From: Andrew Lalis Date: Sat, 17 Dec 2022 16:39:59 +0100 Subject: [PATCH] Fixed urls. --- install.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.lua b/install.lua index 3e7fe6b..c8d895f 100644 --- a/install.lua +++ b/install.lua @@ -1,11 +1,11 @@ --[[ Installation script for installing all libraries. -Run `wget run https://github.com/andrewlalis/movescript/blob/main/install.lua` +Run `wget run https://raw.githubusercontent.com/andrewlalis/movescript/main/install.lua` to run the installer on your device. ]]-- -BASE_URL = "https://github.com/andrewlalis/movescript/blob/main" +BASE_URL = "https://raw.githubusercontent.com/andrewlalis/movescript/main/" SCRIPTS = { "movescript.lua", @@ -15,7 +15,7 @@ SCRIPTS = { -- Create a local executable to re-install, instead of having to run this file via wget. local f = io.open("install-movescript.lua", "w") for _, script in pairs(SCRIPTS) do - url = BASE_URL .. "/" .. script + url = BASE_URL .. script cmd = "wget " .. url .. " " .. script shell.run(cmd) f:write("shell.run(\"" .. cmd .. "\")")