mirror of
https://github.com/khairul169/vaulterm.git
synced 2025-04-28 16:49:39 +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
|
.env
|
||||||
/data.db*
|
/data.db*
|
||||||
Vaulterm-res.syso
|
Vaulterm-res.syso
|
||||||
|
.DS_Store
|
||||||
|
@ -12,6 +12,7 @@ import (
|
|||||||
"github.com/wailsapp/wails/v2/pkg/application"
|
"github.com/wailsapp/wails/v2/pkg/application"
|
||||||
"github.com/wailsapp/wails/v2/pkg/options"
|
"github.com/wailsapp/wails/v2/pkg/options"
|
||||||
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
|
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
|
||||||
|
"github.com/wailsapp/wails/v2/pkg/options/mac"
|
||||||
srv "rul.sh/vaulterm/server/app"
|
srv "rul.sh/vaulterm/server/app"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -36,6 +37,9 @@ func main() {
|
|||||||
appCtx.startup(ctx)
|
appCtx.startup(ctx)
|
||||||
},
|
},
|
||||||
Bind: []interface{}{appCtx},
|
Bind: []interface{}{appCtx},
|
||||||
|
Mac: &mac.Options{
|
||||||
|
WebviewIsTransparent: true,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
// Run the local server
|
// Run the local server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user