From 658d7e1a438a16b7183f5ddff308e098d3294557 Mon Sep 17 00:00:00 2001 From: TaurusXin Date: Thu, 25 Jul 2024 10:34:44 +0800 Subject: [PATCH] feat: macOS FullSizeContent --- main.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.go b/main.go index 147b2f1..74e1546 100644 --- a/main.go +++ b/main.go @@ -7,6 +7,7 @@ import ( "github.com/wailsapp/wails/v2" "github.com/wailsapp/wails/v2/pkg/options" "github.com/wailsapp/wails/v2/pkg/options/assetserver" + "github.com/wailsapp/wails/v2/pkg/options/mac" ) //go:embed all:frontend/dist @@ -37,6 +38,11 @@ func main() { dbService, updateService, }, + Mac: &mac.Options{ + TitleBar: &mac.TitleBar{ + FullSizeContent: true, + }, + } }) if err != nil {