Skip to content

Commit ed1cfba

Browse files
committed
chore: bump version to 0.0.10
1 parent 76db515 commit ed1cfba

File tree

8 files changed

+24
-14
lines changed

8 files changed

+24
-14
lines changed

build/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ info:
1111
description: "A Minecraft Launcher" # The application description
1212
copyright: "(c) 2025, LeviMC" # Copyright text
1313
comments: "Some Product Comments" # Comments
14-
version: "0.0.9" # The application version
15-
beta: true # Whether the application is in beta or not
14+
version: "0.0.10" # The application version
15+
beta: "true" # Whether the application is in beta or not
1616

1717
# Dev mode configuration
1818
dev_mode:

build/darwin/Info.dev.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
<key>CFBundleIdentifier</key>
1111
<string>org.levimc.launcher</string>
1212
<key>CFBundleVersion</key>
13-
<string>0.0.9</string>
13+
<string>0.0.10</string>
1414
<key>CFBundleGetInfoString</key>
1515
<string>Some Product Comments</string>
1616
<key>CFBundleShortVersionString</key>
17-
<string>0.0.9</string>
17+
<string>0.0.10</string>
1818
<key>CFBundleIconFile</key>
1919
<string>icons</string>
2020
<key>LSMinimumSystemVersion</key>

build/darwin/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
<key>CFBundleIdentifier</key>
1111
<string>org.levimc.launcher</string>
1212
<key>CFBundleVersion</key>
13-
<string>0.0.9</string>
13+
<string>0.0.10</string>
1414
<key>CFBundleGetInfoString</key>
1515
<string>Some Product Comments</string>
1616
<key>CFBundleShortVersionString</key>
17-
<string>0.0.9</string>
17+
<string>0.0.10</string>
1818
<key>CFBundleIconFile</key>
1919
<string>icons</string>
2020
<key>LSMinimumSystemVersion</key>

build/linux/nfpm/nfpm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
name: "LeviLauncher"
77
arch: ${GOARCH}
88
platform: "linux"
9-
version: "0.0.9"
9+
version: "0.0.10"
1010
section: "default"
1111
priority: "extra"
1212
maintainer: ${GIT_COMMITTER_NAME} <${GIT_COMMITTER_EMAIL}>

build/windows/info.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"fixed": {
3-
"file_version": "0.0.9"
3+
"file_version": "0.0.10"
44
},
55
"info": {
66
"0000": {
7-
"ProductVersion": "0.0.9",
7+
"ProductVersion": "0.0.10",
88
"CompanyName": "LeviMC",
99
"FileDescription": "A Minecraft Launcher",
1010
"LegalCopyright": "(c) 2025, LeviMC",

build/windows/nsis/wails_tools.nsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
!define INFO_PRODUCTNAME "LeviLauncher"
1515
!endif
1616
!ifndef INFO_PRODUCTVERSION
17-
!define INFO_PRODUCTVERSION "0.0.9"
17+
!define INFO_PRODUCTVERSION "0.0.10"
1818
!endif
1919
!ifndef INFO_COPYRIGHT
2020
!define INFO_COPYRIGHT "(c) 2025, LeviMC"

build/windows/wails.exe.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
3-
<assemblyIdentity type="win32" name="org.levimc.launcher" version="0.0.9" processorArchitecture="*"/>
3+
<assemblyIdentity type="win32" name="org.levimc.launcher" version="0.0.10" processorArchitecture="*"/>
44
<dependency>
55
<dependentAssembly>
66
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>

internal/update/update.go

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
)
2222

2323
var (
24-
appVersion = "0.0.5"
24+
appVersion = "0.0.10"
2525
isBeta = true
2626
)
2727

@@ -59,8 +59,18 @@ func parseVersionAndBetaFromBuildConfig(src string) (version string, beta bool)
5959
}
6060
}
6161
if strings.HasPrefix(line, "beta:") {
62-
val := strings.TrimSpace(strings.SplitN(line, ":", 2)[1])
63-
beta = strings.EqualFold(val, "true") || strings.EqualFold(val, "yes") || strings.EqualFold(val, "on")
62+
var s string
63+
if m := regexp.MustCompile(`beta:\s*"([^"]+)"`).FindStringSubmatch(line); len(m) == 2 {
64+
s = m[1]
65+
} else {
66+
parts := strings.SplitN(line, ":", 2)
67+
if len(parts) == 2 {
68+
s = strings.TrimSpace(parts[1])
69+
s = strings.Trim(s, "\"")
70+
}
71+
}
72+
ls := strings.ToLower(strings.TrimSpace(s))
73+
beta = ls == "true" || ls == "yes" || ls == "on" || ls == "1"
6474
}
6575
}
6676
}

0 commit comments

Comments
 (0)