platform

package
v0.0.0-...-a30bb73 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskUser

func AskUser(context string, payload string)

AskUser emit ask user event

func GetRemoteFolder

func GetRemoteFolder() (string, error)

GetRemoteFolder returns the download dir

func GetSurgeDir

func GetSurgeDir() string

GetSurgeDir returns the surge dir

func InitOSHandler

func InitOSHandler()

InitOSHandler .

func InitializeFolders

func InitializeFolders() (bool, error)

InitializeFolders initializes folder structures needed, returns if folders are created (not yet existing)

func OpenFileDialog

func OpenFileDialog() string

OpenFileDialog uses platform agnostic package for a file dialog

func ProcessStartupArgs

func ProcessStartupArgs(args []string, frontendReady *bool) bool

func SetVisualModeLikeOS

func SetVisualModeLikeOS()

SetVisualModeLikeOS .

func SetWailsContext

func SetWailsContext(ctx *context.Context, setVisualModeFunc setVisualMode)

SetWailsContext binds the runtime

func ShowNotification

func ShowNotification(title string, text string)

ShowNotification .

func WatchOSXHandler

func WatchOSXHandler()

WatchOSXHandler .

Types

This section is empty.

Jump to

Keyboard shortcuts

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