Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { OutDir string `json:"outDir"` Target string `json:"target"` Prefix string `json:"prefix"` Suffix string `json:"suffix"` Sizes []*size `json:"sizes"` JpegOpt *jpeg.Options `json:"jpegOpt"` PngOpt *png.Options `json:"pngOpt"` WebpOpt *webp.Options `json:"webpOpt"` }
App represents application persistent configuration values.
type Config ¶
type Config struct { App *App Runtime *wails.Runtime Logger *wails.CustomLogger // contains filtered or unexported fields }
Config represents the application settings.
func (*Config) GetAppConfig ¶
GetAppConfig returns the application configuration.
func (*Config) OpenOutputDir ¶
OpenOutputDir opens the output directory using the native system browser.
func (*Config) RestoreDefaults ¶
RestoreDefaults sets the app configuration to defaults.
Click to show internal directories.
Click to hide internal directories.