feat: macOS FullSizeContent

This commit is contained in:
TaurusXin 2024-07-25 10:34:44 +08:00
parent 7d7c89954b
commit 658d7e1a43
1 changed files with 6 additions and 0 deletions

View File

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