AppInfo.setAsDefaultForExtension

bool setAsDefaultForExtension(string extension)

Sets the application as the default handler for the given file extension.

Parameters

extensiona string containing the file extension (without the dot).

Returns

true on success, false on error.

Throws

[ErrorWrap]