Skip to content

The window closes on the Linux (Debian) platform  #29

Description

@Tartilla-TAIGO

Platform: Linux

If you do not specify loadUrl when starting the window, it may make it impossible to open the window on Linux (Debian). The application simply closes, although this does not happen on Windows.

A temporary solution:

    builder.WebHost.UseUrls("http://localhost:20045");
    ... 
        var browserWindow = await Electron.WindowManager.CreateWindowAsync(new BrowserWindowOptions
    {
        Width = 1152,
        Height = 940,
    }, "http://localhost:20045");

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions