mirror of
https://github.com/khairul169/vaulterm.git
synced 2025-04-28 08:39:37 +07:00
fix: fix macos white screen
This commit is contained in:
parent
10f805aab3
commit
ad8b67ccd3
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ tmp/
|
||||
.env
|
||||
/data.db*
|
||||
Vaulterm-res.syso
|
||||
.DS_Store
|
||||
|
@ -12,6 +12,7 @@ import (
|
||||
"github.com/wailsapp/wails/v2/pkg/application"
|
||||
"github.com/wailsapp/wails/v2/pkg/options"
|
||||
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
|
||||
"github.com/wailsapp/wails/v2/pkg/options/mac"
|
||||
srv "rul.sh/vaulterm/server/app"
|
||||
)
|
||||
|
||||
@ -36,6 +37,9 @@ func main() {
|
||||
appCtx.startup(ctx)
|
||||
},
|
||||
Bind: []interface{}{appCtx},
|
||||
Mac: &mac.Options{
|
||||
WebviewIsTransparent: true,
|
||||
},
|
||||
})
|
||||
|
||||
// Run the local server
|
||||
|
Loading…
x
Reference in New Issue
Block a user