mac

package
v2.0.0-alpha.69 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 7 Imported by: 2

Documentation

Rendered for darwin/amd64

Overview

Package mac provides MacOS related utility functions for Wails applications

Package mac provides MacOS related utility functions for Wails applications

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShowNotification

func ShowNotification(title string, subtitle string, message string, sound string) error

StartAtLogin will either add or remove this application to/from the login items, depending on the given boolean flag. The limitation is that the currently running app must be in an app bundle.

func StartAtLogin

func StartAtLogin(enabled bool) error

StartAtLogin will either add or remove this application to/from the login items, depending on the given boolean flag. The limitation is that the currently running app must be in an app bundle.

func StartsAtLogin

func StartsAtLogin() (bool, error)

StartsAtLogin will indicate if this application is in the login items. The limitation is that the currently running app must be in an app bundle.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL