mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07: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
|
|
}
|