Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pelt10 committed Dec 7, 2017
1 parent fc9a0bd commit 7a5306e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Empty file modified gradlew
100644 → 100755
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

public class KubithonInstaller
{
public static final String VERSION = "1.0.0";
public static final String VERSION = "1.0.2";

public static void main(String[] args)
{
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/fr/ironcraft/kubithon/launcher/Launcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public Launcher(LauncherPanel panel)
this.panel = panel;
}

public void nonPremium(String username, LauncherFrame frame)
public void nonPremium(String username,final LauncherFrame frame)
{
panel.setStatus("Listage des fichiers", LauncherPanel.BLUE);
panel.getProgressBar().setVisible(true);
Expand Down Expand Up @@ -79,7 +79,7 @@ public void nonPremium(String username, LauncherFrame frame)

panel.setStatus("Lancement...", LauncherPanel.BLUE);

GameInfos infos = new GameInfos("Kubithon", new GameVersion("1.12.2", GameType.V1_8_HIGHER), new GameTweak[]{GameTweak.FORGE});
GameInfos infos = new GameInfos("kubithon", new GameVersion("1.12.2", GameType.V1_8_HIGHER), new GameTweak[]{GameTweak.FORGE});
GameFolder folder = new GameFolder("assets", "libraries", "natives", "versions/1.12.2/1.12.2.jar");
AuthInfos auth = new AuthInfos(username, "unauthorized", UUID.randomUUID().toString());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ protected void setStatus(String status, String statusColor)
String modeColor = premium ? GREEN : YELLOW;
String mode = premium ? "Premium" : "Non-Premium";

infosLabel.setText("<html><center>Kubithon v1.0.0<br>Mode : <font color='" + modeColor + "'>" + mode + "</font><br>Status : <font color='" + statusColor + "'>" + status + "</font></center></html>");
infosLabel.setText("<html><center>Kubithon " + KubithonInstaller.VERSION + "<br>Mode : <font color='" + modeColor + "'>" + mode + "</font><br>Status : <font color='" + statusColor + "'>" + status + "</font></center></html>");
}

@Override
Expand Down

0 comments on commit 7a5306e

Please sign in to comment.