Skip to content

Instantly share code, notes, and snippets.

@AnOpenSauceDev
Last active August 24, 2023 08:38
Show Gist options
  • Save AnOpenSauceDev/2d169be254848caf1cdf826b3fb14f2d to your computer and use it in GitHub Desktop.
Save AnOpenSauceDev/2d169be254848caf1cdf826b3fb14f2d to your computer and use it in GitHub Desktop.
basic installer script for minecraft fabric
@echo off
echo "The Open-Sauce Fabric Mod Installer! (assuming windows)"
echo "Please close Minecraft AND the Launcher before running this..."
pause
echo "Assuming you just closed the launcher, lets continue!"
echo "Running the installer w/ java, downloading automatically..."
java -jar fabric-installer.jar client -dir "%AppData%\.minecraft"
echo "creating mods directory, and preparing for mod setup"
mkdir "%AppData%\.minecraft\mods"
echo "copying files..."
xcopy ".\mods" "%AppData%\.minecraft\mods" /E
echo "Copying done! You can now close this window."
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment