File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.
44
55# Unreleased
66
7+ - Improve how versions are shown
78- Bump packages
89
910## 3.1.0 - 2026-01-29
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export function get_version(executable: string[]): {
2121 major : number
2222 minor : number
2323 patch : number
24- rest : string
24+ rest : string | undefined
2525} {
2626 const RENPY_VERSION_REGEX =
2727 / ^ R e n ' P y (?< major > \d + ) \. (?< minor > \d + ) \. (?< patch > \d + ) (?: \. (?< rest > .* ) ) ? \s * $ /
Original file line number Diff line number Diff line change @@ -186,7 +186,8 @@ export class StatusBar {
186186 }
187187
188188 if ( executable ) {
189- version = get_version ( executable ) ?. semver
189+ const v = get_version ( executable )
190+ version = v . semver + ( v . rest ?. endsWith ( "+nightly" ) ? v . rest : "" )
190191 }
191192
192193 if ( ! sdk_path || ! executable || ! version ) {
You can’t perform that action at this time.
0 commit comments