for my Desynced mods and tools
using mod.py
- take user arguments (like what mod the user wants to upload)
- take information from the mods.yaml file (like the mod
idandpathif they exist)- if the mod
idor the mod itself does not exist, ask the user if they want to upload a new one
- if the mod
- zip the folder, if the mod isn't already zipped
- uploads or updates with
DesyncedModUploader.exe
example: py mod.py RabbitsFirstMod
it can also create symlinks. you can choose one or it will default to Desynced's mods folder (content_mods)
example: py mod.py RabbitsFirstMod --sym
uploader: R:\Rabbit - Game Dev\DesyncedModUploader-1.0\DesyncedModUploader.exe
content_mods: N:\SteamLibrary\steamapps\common\Desynced\Desynced\Content\mods
workshop: N:\SteamLibrary\steamapps\workshop\content\1450900
# path should be relative to this file (mods.yaml)
RabbitsFirstMod:
id: 3021710010
path: RabbitsFirstMod\RabbitsFirstMod