new
fun new(options: TrayIconOptions = definedExternally): ERROR CLASS: Symbol not found for js.promise.Promise<tauri/apps/api/TrayIcon>(source)
Creates a new {@linkcode TrayIcon}
Platform-specific:
Linux: Sometimes the icon won't be visible unless a menu is set. Setting an empty {@linkcode Menu} is enough.