Defined in: app.ts:42
Installer format of the current distribution — mirrors Tauri's
BundleType (App when running inside an .app bundle or in dev).
App:
"App"
Defined in: app.ts:48
AppImage:
"AppImage"
Defined in: app.ts:47
Deb:
"Deb"
Defined in: app.ts:45
Msi:
"Msi"
Defined in: app.ts:44
Nsis:
"Nsis"
Defined in: app.ts:43
Rpm:
"Rpm"
Defined in: app.ts:46
Defined in: app.ts:22
optionalappName?:string
Defined in: app.ts:24
identifier:
string
Defined in: app.ts:23
optionalversion?:string
Defined in: app.ts:25
constapp:object
Defined in: app.ts:91
defaultWindowIcon: () =>
Promise<null>
The registered default window icon (null when none set).
Promise<null>
fetchDataStoreIdentifiers: () =>
Promise<string[]>
Android-only upstream: known data-store identifiers (empty on desktop).
Promise<string[]>
getBundleType: () =>
Promise<string>
The distribution format this build was packaged into.
Promise<string>
getConfig: () =>
Promise<AppInfo&Record<string,unknown>>
The app configuration (identifier/name/version; secrets are stripped).
Promise<AppInfo & Record<string, unknown>>
getIdentifier: () =>
Promise<string>
The configured bundle identifier (e.g. com.example.app).
Promise<string>
getName: () =>
Promise<string>
The configured app name (falls back to the bundle identifier).
Promise<string>
getTauriVersion: () =>
Promise<string>
The Ztron API version (mirrors Tauri's getTauriVersion).
Promise<string>
getVersion: () =>
Promise<string>
The configured app version.
Promise<string>
hide: () =>
Promise<void> =hideApplication
Hides the whole application and all its windows (macOS NSApp hide:).
Promise<void>
removeDataStore: (
id) =>Promise<{removed:boolean; }>
Android-only upstream: removes one data store (no-op on desktop).
string
Promise<{ removed: boolean; }>
setDockVisibility: (
visible) =>Promise<void>
Toggles the macOS Dock icon for the running application.
boolean
Promise<void>
show: () =>
Promise<void> =showApplication
Shows the whole application (macOS: unhide + activate).
Promise<void>
supportsMultipleWindows: () =>
Promise<boolean>
Whether the runtime supports creating further windows at run time.
Promise<boolean>
defaultWindowIcon():
Promise<null>
Defined in: app.ts:72
The registered default window icon (null when none set).
Promise<null>
fetchDataStoreIdentifiers():
Promise<string[]>
Defined in: app.ts:77
Android-only upstream: known data-store identifiers (empty on desktop).
Promise<string[]>
getBundleType():
Promise<string>
Defined in: app.ts:52
The distribution format this build was packaged into.
Promise<string>
getConfig():
Promise<AppInfo&Record<string,unknown>>
Defined in: app.ts:29
The app configuration (identifier/name/version; secrets are stripped).
Promise<AppInfo & Record<string, unknown>>
getIdentifier():
Promise<string>
Defined in: app.ts:34
The configured bundle identifier (e.g. com.example.app).
Promise<string>
getName():
Promise<string>
Defined in: app.ts:8
The configured app name (falls back to the bundle identifier).
Promise<string>
getTauriVersion():
Promise<string>
Defined in: app.ts:18
The Ztron API version (mirrors Tauri's getTauriVersion).
Promise<string>
getVersion():
Promise<string>
Defined in: app.ts:13
The configured app version.
Promise<string>
hideApplication():
Promise<void>
Defined in: app.ts:67
Hides the whole application and all its windows (macOS NSApp hide:).
Promise<void>
removeDataStore(
id):Promise<{removed:boolean; }>
Defined in: app.ts:82
Android-only upstream: removes one data store (no-op on desktop).
string
Promise<{ removed: boolean; }>
setDockVisibility(
visible):Promise<void>
Defined in: app.ts:87
Toggles the macOS Dock icon for the running application.
boolean
Promise<void>
showApplication():
Promise<void>
Defined in: app.ts:62
Shows the whole application (macOS: unhide + activate).
Promise<void>
supportsMultipleWindows():
Promise<boolean>
Defined in: app.ts:57
Whether the runtime supports creating further windows at run time.
Promise<boolean>