a8f96b8c2a
fix instance.cfg fix line endings?! downgrade mc-vr-api make immersivemc optional again remove reacharound fix sculkhorn
18 lines
458 B
Bash
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 '{}' '+'
|
|
|