ultron/rehash.sh
Merith-TK a8f96b8c2a update modpack
fix instance.cfg


fix line endings?!


downgrade mc-vr-api

make immersivemc optional again

remove reacharound


fix sculkhorn
2023-02-25 14:34:52 -08:00

18 lines
458 B
Bash

### get list of all *.pw.toml files in the .minecraft/mods directory
## Then cd into .minecraft/ and run `packwiz remove <modname>` for each mod and then `packwiz mr add <modname>` for each mod
for i in $(find mods -name "*.pw.toml"); do
modname=${i%".pw.toml"}
modname=${modname#"mods/"}
if [ ! $modname == "" ]; then
echo "Removing $modname"
packwiz remove $modname
packwiz mr add $modname
fi
done
find ./ -type f -exec dos2unix '{}' '+'