All checks were successful
Trigger cinny-mobile / dispatch (push) Successful in 1s
Replace legacy profile style metadata with MSC4133 profile fields, add in-app update notes, tighten account profile name spacing, and wire desktop media save helpers through the client.
11 lines
252 B
TypeScript
11 lines
252 B
TypeScript
import { getVersion } from '@tauri-apps/api/app';
|
|
|
|
/** Returns the running app version (Electron shim or Tauri). */
|
|
export async function getAppVersion(): Promise<string> {
|
|
try {
|
|
return await getVersion();
|
|
} catch {
|
|
return 'unknown';
|
|
}
|
|
}
|