feat: macOS FullSizeContent
This commit is contained in:
parent
7d7c89954b
commit
658d7e1a43
6
main.go
6
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 {
|
||||
|
|
Loading…
Reference in New Issue