Files
archived-tauri-docs/docs/api/js/modules/app.md
2022-03-29 07:36:52 +02:00

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

app.ts:33


getTauriVersion

getTauriVersion(): Promise<string>

Gets the tauri version.

Returns

Promise<string>

A promise resolving to tauri version.

Defined in

app.ts:47


getVersion

getVersion(): Promise<string>

Gets the application version.

Returns

Promise<string>

A promise resolving to the application version.

Defined in

app.ts:19