mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Fixed dialogs on macOS. Update WML example to use compiled runtime.
This commit is contained in:
@@ -21,7 +21,7 @@ func main() {
|
||||
Description: "A demo of the WebviewWindow API",
|
||||
Assets: application.AlphaAssets,
|
||||
Mac: application.MacOptions{
|
||||
ApplicationShouldTerminateAfterLastWindowClosed: true,
|
||||
ApplicationShouldTerminateAfterLastWindowClosed: false,
|
||||
},
|
||||
})
|
||||
app.On(events.Mac.ApplicationDidFinishLaunching, func(event *application.Event) {
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
font-size: large;
|
||||
}
|
||||
</style>
|
||||
<script src="runtime.js"></script>
|
||||
</head>
|
||||
<body style="--webkit-app-region: drag;">
|
||||
<img class="logo"
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user