Release v1.4.3
This commit is contained in:
@@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"embed"
|
||||
"os"
|
||||
goruntime "runtime"
|
||||
|
||||
"github.com/wailsapp/wails/v2"
|
||||
@@ -17,6 +18,7 @@ var assets embed.FS
|
||||
|
||||
func main() {
|
||||
app := NewApp()
|
||||
enableInspector := os.Getenv("LINGMA_DESKTOP_DEBUG") == "1"
|
||||
|
||||
err := wails.Run(&options.App{
|
||||
Title: "Lingma IPC Proxy",
|
||||
@@ -28,6 +30,10 @@ func main() {
|
||||
AssetServer: &assetserver.Options{
|
||||
Assets: assets,
|
||||
},
|
||||
EnableDefaultContextMenu: enableInspector,
|
||||
Debug: options.Debug{
|
||||
OpenInspectorOnStartup: enableInspector,
|
||||
},
|
||||
BackgroundColour: &options.RGBA{R: 15, G: 23, B: 42, A: 1},
|
||||
Menu: appMenu(app),
|
||||
OnStartup: app.startup,
|
||||
|
||||
Reference in New Issue
Block a user