@zturnlibs/ztron-api


opener

Functions

openPath()

openPath(path, openWith?): Promise<void>

Defined in: opener.ts:16

Opens a path (file/directory) with the default (or the given) application.

Parameters

path

string

openWith?

string

Returns

Promise<void>


openUrl()

openUrl(url, openWith?): Promise<void>

Defined in: opener.ts:8

Opens a URL with the default (or the given) application.

Parameters

url

string

openWith?

string

Returns

Promise<void>


revealItemInDir()

revealItemInDir(path): Promise<void>

Defined in: opener.ts:24

Reveals a path in the file manager with the item selected.

Parameters

path

string

Returns

Promise<void>