Updating mods on dedicated server
Posted: Mon Sep 19, 2016 12:54 pm
Is there a way to auto-update the mods on a headless server installation?
Currently, because the mods portal requires login, I can't simply wget the mod because it fails to authenticate. As such, to update mods I delete the old version and upload the new version from my local PC.
My upload is awful so it can be really slow for mods like angel's refining.
Is there a way I can remotely authenticate a mod download with my user and pass? Something like:
At least that way I could automate it with a script.
Thanks in advance!
Currently, because the mods portal requires login, I can't simply wget the mod because it fails to authenticate. As such, to update mods I delete the old version and upload the new version from my local PC.
My upload is awful so it can be really slow for mods like angel's refining.
Is there a way I can remotely authenticate a mod download with my user and pass? Something like:
Code: Select all
wget https://mods.factorio.com/api/downloads/data/mods/103/angelsrefining_0.3.3.zip?user=randomic&pass=hunter2
Thanks in advance!