From 448e12081d589fdfbac81dc6a7a5fa5c03e8101d Mon Sep 17 00:00:00 2001 From: Jade Turner Date: Mon, 9 Sep 2024 13:55:59 +0800 Subject: [PATCH] Fix standalone running after fresh install Resolves https://github.com/wpilibsuite/WPILibInstaller-Avalonia/issues/414 --- wpilib-utility-standalone/src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/wpilib-utility-standalone/src/main.ts b/wpilib-utility-standalone/src/main.ts index 17e22b38..14c06460 100644 --- a/wpilib-utility-standalone/src/main.ts +++ b/wpilib-utility-standalone/src/main.ts @@ -5,6 +5,7 @@ import { initialize, enable } from '@electron/remote/main'; initialize(); let mainWindow: Electron.BrowserWindow | undefined; +app.commandLine.appendSwitch('--no-sandbox') async function createWindow() { // Create the browser window.