Get application metadata.
This package is also accessible with window.__TAURI__.app when tauri.conf.json > build > withGlobalTauri is set to true.
Functions#
getName#
▸ getName(): Promise<string>
Gets the application name.
Returns#
Promise<string>
A promise resolving to application name.
Defined in#
getTauriVersion#
▸ getTauriVersion(): Promise<string>
Gets the tauri version.
Returns#
Promise<string>
A promise resolving to tauri version.
Defined in#
getVersion#
▸ getVersion(): Promise<string>
Gets the application version.
Returns#
Promise<string>
A promise resolving to the application version.