Skip to content

Commit

Permalink
updated the CFGUI file path to use org repo
Browse files Browse the repository at this point in the history
  • Loading branch information
gdoublev committed May 13, 2024
1 parent ee14eff commit 5515c36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CF-loader.xml
Expand Up @@ -16,15 +16,15 @@
<packageName></packageName>
<script>function downloadPkg(a,b)
echo("****Downloading package.")
downloadFile(getMudletHomeDir() .. "/CFGUI.zip", "https://github.com/Rahsael/CFGUI/releases/latest/download/CFGUI.zip")
downloadFile(getMudletHomeDir() .. "/CFGUI.zip", "https://github.com/carrionfields/CFGUI/releases/latest/download/CFGUI.zip")
end

function installReady(event, file)
if file ~= getMudletHomeDir().."/CFGUI.zip" then return end
if not io.exists(getMudletHomeDir().."/CFGUI.zip") then
cecho([[&lt;gold&gt;To download the Carrion Fields Mudlet client, please copy and paste the following code into the command line:

lua function d(a,b)if not b:find("CFGUI",1,true)then return end installPackage(b)os.remove(b)cecho("&lt;lime_green&gt;Package installed!\n")end registerAnonymousEventHandler("sysDownloadDone","d")downloadFile(getMudletHomeDir().."/CFGUI.zip","https://github.com/Rahsael/CFGUI/releases/latest/download/CFGUI.zip")
lua function d(a,b)if not b:find("CFGUI",1,true)then return end installPackage(b)os.remove(b)cecho("&lt;lime_green&gt;Package installed!\n")end registerAnonymousEventHandler("sysDownloadDone","d")downloadFile(getMudletHomeDir().."/CFGUI.zip","https://github.com/carrionfields/CFGUI/releases/latest/download/CFGUI.zip")

]])
return
Expand Down

0 comments on commit 5515c36

Please sign in to comment.