Skip to content

Commit

Permalink
Make this fork headless
Browse files Browse the repository at this point in the history
Signed-off-by: Amp <[email protected]>
  • Loading branch information
Novampr authored Aug 6, 2024
1 parent 8da5d8a commit 9abbae4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
import net.minecraftforge.installer.json.Install;
import net.minecraftforge.installer.json.InstallV1;
import net.minecraftforge.installer.json.Util;
import net.minecraftforge.installer.SimpleInstaller;

public class Installer {
public static boolean install(File libraryDir, File minecraftJar, File installerJar) {
SimpleInstaller.headless = true;
AbstractInstaller installer = createInstaller();
ProgressCallback monitor = ProgressCallback.withOutputs(System.out);
Install profile = installer.loadInstallProfile();
Expand Down

0 comments on commit 9abbae4

Please sign in to comment.