mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-05 00:12:45 +08:00
15 lines
361 B
Go
15 lines
361 B
Go
//go:build windows && production && !devtools
|
|
|
|
package application
|
|
|
|
import "github.com/wailsapp/go-webview2/pkg/edge"
|
|
|
|
func (w *windowsWebviewWindow) openDevTools() {}
|
|
|
|
func (w *windowsWebviewWindow) enableDevTools(settings *edge.ICoreWebViewSettings) {
|
|
err := settings.PutAreDevToolsEnabled(false)
|
|
if err != nil {
|
|
globalApplication.fatal(err.Error())
|
|
}
|
|
}
|