mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 00:41:59 +08:00
![]() * Init GTK in `NewFrontend`, not `init` So apps that have a headless / non-gui mode will be able to run, since they needn't call `NewFrontend` (which is called by `CreateApp`). Previously, `init` would call `C.gtk_init` regardless of whether CreateApp was called. Also change to call `C.gtk_init_check` with a panic, instead of `C.gtk_init`, since `gtk_init` just exits the process if it fails, without a sensible error message. Fixes #2628. * Update changelog |
||
---|---|---|
.. | ||
desktop | ||
devserver | ||
dispatcher | ||
runtime | ||
calls.go | ||
dispatcher.go | ||
events.go | ||
frontend.go |