diff --git a/src-electron/main.js b/src-electron/main.js index dcd5daff..9baa4b0c 100644 --- a/src-electron/main.js +++ b/src-electron/main.js @@ -14,11 +14,13 @@ const fs = require('fs'); const https = require('https'); if (!isDotNetInstalled()) { - dialog.showErrorBox( - 'VRCX', - 'Please install .NET 9.0 Runtime "dotnet-runtime-9.0" to run VRCX.' - ); - app.quit(); + app.whenReady().then(() => { + dialog.showErrorBox( + 'VRCX', + 'Please install .NET 9.0 Runtime "dotnet-runtime-9.0" to run VRCX.' + ); + app.quit(); + }); return; }