mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 10:27:46 +08:00
feat: add version update flow
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export function formatDisplayVersion(version: string): string {
|
||||
const normalized = version.trim()
|
||||
if (!normalized) return ''
|
||||
return normalized.startsWith('v') || normalized.startsWith('V') ? normalized : `v${normalized}`
|
||||
}
|
||||
Reference in New Issue
Block a user