Janrupf / mod-director

Automated mod downloading
https://www.curseforge.com/minecraft/mc-mods/moddirector
MIT License
13 stars 13 forks source link

Mod hangs when attempting to install files or folders from GitHub? [1.12.2] #26

Closed Lylythii closed 2 years ago

Lylythii commented 2 years ago

Rather self explanatory. Attempting to install files or folders from GitHub seems to cause the mod installer to hang & fails to launch the game.

Config example used;

{
    "url": "https://github.com/Lylythii/FileDirecting/scripts.zs",
    "folder": "scripts"
}

image

Lylythii commented 2 years ago

Update: The above url was invalid. A "working" url would've been https://github.com/Lylythii/FileDirecting/blob/main/scripts.zs, however this does not install the file correctly.

Pulling the file from the raw url like-so works fine:

{
    "url": "https://raw.githubusercontent.com/Lylythii/FileDirecting/main/scripts.zs",
    "folder": "scripts/subfolder"
}