5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 08:29:40 +08:00

Ignore setenv error

This commit is contained in:
Lea Anthony 2022-01-29 11:42:17 +11:00
parent f3783c9800
commit be15644b96
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -62,7 +62,7 @@ type Frontend struct {
func NewFrontend(ctx context.Context, appoptions *options.App, myLogger *logger.Logger, appBindings *binding.Bindings, dispatcher frontend.Dispatcher) *Frontend {
// Set GDK_BACKEND=x11 to prevent warnings
os.Setenv("GDK_BACKEND", "x11")
_ = os.Setenv("GDK_BACKEND", "x11")
result := &Frontend{
frontendOptions: appoptions,