mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 17:39:58 +08:00
Ignore setenv error
This commit is contained in:
parent
f3783c9800
commit
be15644b96
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user