12
This commit is contained in:
7
main.go
7
main.go
@ -7,6 +7,7 @@ import (
|
||||
"github.com/wailsapp/wails/v2/pkg/options"
|
||||
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
|
||||
"github.com/wailsapp/wails/v2/pkg/options/mac"
|
||||
"github.com/wailsapp/wails/v2/pkg/options/windows"
|
||||
)
|
||||
|
||||
//go:embed all:frontend/dist
|
||||
@ -33,6 +34,12 @@ func main() {
|
||||
Mac: &mac.Options{
|
||||
TitleBar: mac.TitleBarHiddenInset(),
|
||||
},
|
||||
Windows: &windows.Options{
|
||||
BackdropType: windows.Mica,
|
||||
WindowIsTranslucent: true,
|
||||
WebviewIsTransparent: true,
|
||||
DisableWindowIcon: false,
|
||||
},
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user