Skip to content

Commit

Permalink
startup message
Browse files Browse the repository at this point in the history
  • Loading branch information
TabulateJarl8 committed Jun 8, 2021
1 parent 5a8675e commit 99f0863
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.tabulate.modpackSwitcher</groupId>
<artifactId>switcher</artifactId>
<version>1.1</version>
<version>1.2</version>

<name>switcher</name>
<url>http://tabulatejarl8.github.io</url>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/modpackSwitcher/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ public boolean accept(File file, String s) {

try {
System.out.println();
System.out.println("Starting " + modpacks[choice] + "...");
Process process = new ProcessBuilder("/bin/bash", "-c", "cd \"" + selectedPackDir + "\" && " + jarCommand).inheritIO().start();
exitCode = process.waitFor();
if (exitCode == 0)
Expand Down

0 comments on commit 99f0863

Please sign in to comment.