Skip to content
Discussion options

You must be logged in to vote

I found the solution. In addition to the following change in the JS script that launches the electron shell:

    mainWindow.loadURL(
        "http://localhost:8080", {
			userAgent: mainWindow.webContents.getUserAgent()
				.replace("Electron", "WebAppWrapper")
		}
    );

I also needed to upgrade my project from .NET 6 to .NET 7.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@jeromelaban
Comment options

@jeromelaban
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by andrewkdci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants