Skip to content

Commit

Permalink
another AutoUpdater patch
Browse files Browse the repository at this point in the history
  • Loading branch information
yophlox committed Oct 28, 2024
1 parent cf5d128 commit 3198482
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/Utils.hx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import flixel.math.FlxPoint;

class Utils {
// MAIN SWAGGER SHITS!
public static var VERSION:String = " v1.1";
public static final VERSION:String = "1.1";
static public var soundExt:String = ".mp3";
public static final discordRpc:String = "1139936005785407578";

Expand Down
2 changes: 1 addition & 1 deletion source/states/MainMenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class MainMenuState extends SwagState {
devcred.setFormat("VCR OSD Mono", 16, FlxColor.WHITE, LEFT, FlxTextBorderStyle.SHADOW, FlxColor.BLACK);
add(devcred);

var versionShit:FlxText = new FlxText(0, FlxG.height - 18, FlxG.width - 5, "Moon4K" + Utils.VERSION, 12);
var versionShit:FlxText = new FlxText(0, FlxG.height - 18, FlxG.width - 5, "Moon4K v" + Utils.VERSION, 12);
versionShit.scrollFactor.set();
versionShit.setFormat("VCR OSD Mono", 16, FlxColor.WHITE, RIGHT, FlxTextBorderStyle.SHADOW, FlxColor.BLACK);
add(versionShit);
Expand Down
2 changes: 1 addition & 1 deletion source/util/AutoUpdater.hx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class AutoUpdater
"https://github.com/yophlox/Moon4K/releases/latest/download/Moon4K-Linux-Release.zip"
#end
; // Replace with your repo and zip file
public static inline var CURRENT_VERSION = "1.0"; // Replace with your version
public static var CURRENT_VERSION = Utils.VERSION;

public static var latestVersion:String = "";

Expand Down

0 comments on commit 3198482

Please sign in to comment.