Fix Linux .NET error dialog

This commit is contained in:
Natsumi
2025-03-03 11:40:01 +13:00
parent 41c47d3dc2
commit ea12d25cef

View File

@@ -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;
}