mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 07:29:56 +08:00

This update adds implementation to several menu item functions, replacing their previous 'not implemented' state. This includes actions for close, reload, forcing reload, toggling of fullscreen, reset zoom, and others. The update also includes modifications for the handling of developer tools toggle under different build configurations. This refactoring is aimed to standardize devtools configuration across different operating systems.
19 lines
309 B
Go
19 lines
309 B
Go
//go:build production
|
|
|
|
package application
|
|
|
|
func newApplication(options Options) *App {
|
|
result := &App{
|
|
isDebugMode: false,
|
|
options: options,
|
|
}
|
|
result.init()
|
|
return result
|
|
}
|
|
|
|
func (a *App) logStartup() {}
|
|
|
|
func (a *App) preRun() error { return nil }
|
|
|
|
func (a *App) postQuit() error { return nil }
|