TerraFirmaCraft-The-Final-Frontier / FileDirector

Automated mod/file downloading.
https://www.curseforge.com/minecraft/mc-mods/filedirector
MIT License
8 stars 5 forks source link

There is a way to extract one time a zip? because when he try to extract a second time at second launch i have errors #16

Closed quentin452 closed 8 months ago

quentin452 commented 9 months ago
{
    "url":
    [
        {
            "url": "https://github.com/quentin452/Biggess-Pack-Cat-Edition-Configs/releases/download/V0.90.9test3/configV0.90.9.zip",
            "folder": "config",
            "installationPolicy":
            {
                "extract": true
            }
        }
    ]
}

fml-client-latest.log

Lylythii commented 9 months ago

Might be an odd method, but you could try deleting or disabling the config file that downloads & extracts the zip file, after it gets extracted. Which will result in it only being extracted once.

quentin452 commented 9 months ago

yes its odd but i could try :D

quentin452 commented 9 months ago

its seem thats not possible to use delete of disable with installationPolicy that cause errors

quentin452 commented 9 months ago

Fixed by adding a modpackversion Property(in installationpolicy and in modpack.json)

after adding modpack version property , the zip is downloaded only one time and so fix errors