Skip to content

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

@Tartilla-TAIGO

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");

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