mirror of
https://github.com/tauri-apps/tauri-docs.git
synced 2026-01-31 00:35:16 +01:00
1.0 KiB
1.0 KiB
@tauri-apps/api / app
Module: app
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.