Skip to content

Commit

Permalink
Ready for a new release, finally
Browse files Browse the repository at this point in the history
  • Loading branch information
XorTroll committed Apr 8, 2023
1 parent 7722b24 commit d23f045
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Quark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>xortroll.goldleaf.quark</groupId>
<artifactId>Quark</artifactId>

<version>0.5</version>
<version>0.10.1</version>
<name>Quark</name>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@
import xortroll.goldleaf.quark.usb.cmd.CommandBlock;

public class MainApplication extends Application {
public static final Version QuarkVersion = new Version(0, 5, 0);
public static final Version MinimumGoldleafVersion = new Version(0, 10, 0);
public static final Version CurrentVersion = new Version(0, 10, 1);

private static Config special_path_cfg;
private static Object special_path_cfg_lock;
Expand Down Expand Up @@ -155,8 +154,8 @@ private USBInterface showUsbFailReconnectDialogFromTask(String message, boolean
if(product_version == null) {
show_message = "The connection found doesn't seem to be Goldleaf";
}
else if(product_version.olderThan(MinimumGoldleafVersion)) {
show_message = "The Goldleaf Quark connected to is outdated.\nPlease update to v" + MinimumGoldleafVersion.toString() + " or higher.";
else if(product_version.olderThan(CurrentVersion)) {
show_message = "The Goldleaf Quark connected to is outdated.\nPlease update to v" + CurrentVersion.toString() + " or higher.";
}
else {
if(is_dev_version) {
Expand Down Expand Up @@ -193,7 +192,7 @@ public void start(Stage primaryStage) throws Exception {

stage = primaryStage;
stage.getIcons().add(new Image(this_loader.getResource("Icon.png").toExternalForm()));
stage.setTitle("Quark v" + QuarkVersion.toString() + " - Goldleaf's USB client");
stage.setTitle("Quark v" + CurrentVersion.toString() + " - Goldleaf's USB client");
stage.setScene(this.scene);
stage.setMinWidth(width);
stage.setMinHeight(height);
Expand Down

0 comments on commit d23f045

Please sign in to comment.