mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 05:20:00 +08:00
13 lines
221 B
Go
13 lines
221 B
Go
// +build debug
|
|
|
|
package app
|
|
|
|
// Init initialises the application for a debug environment
|
|
func (a *App) Init() error {
|
|
// Indicate debug mode
|
|
a.debug = true
|
|
// Enable dev tools
|
|
a.options.DevTools = true
|
|
return nil
|
|
}
|