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.
#
ReturnsPromise
<string
>
A promise resolving to application name.
#
Defined in#
getTauriVersion▸ getTauriVersion(): Promise
<string
>
Gets the tauri version.
#
ReturnsPromise
<string
>
A promise resolving to tauri version.
#
Defined in#
getVersion▸ getVersion(): Promise
<string
>
Gets the application version.
#
ReturnsPromise
<string
>
A promise resolving to the application version.