Release v1.4.3

This commit is contained in:
lutc5
2026-04-30 18:20:04 +08:00
parent a2f777a1a8
commit a02fd51c19
24 changed files with 1909 additions and 1176 deletions

View File

@@ -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,