Update Linux build to .NET 9.0

This commit is contained in:
Natsumi
2025-02-03 20:21:50 +13:00
parent 6cc10ad8af
commit 6c411db832
7 changed files with 27 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
const dotnet = require('node-api-dotnet/net8.0');
const dotnet = require('node-api-dotnet/net9.0');
class InteropApi {
constructor() {

View File

@@ -14,7 +14,10 @@ const fs = require('fs');
const https = require('https');
if (!isDotNetInstalled()) {
dialog.showErrorBox('VRCX', 'Please install .NET 8.0 Runtime to run VRCX.');
dialog.showErrorBox(
'VRCX',
'Please install .NET 9.0 Runtime "dotnet-runtime-9.0" to run VRCX.'
);
app.quit();
return;
}
@@ -508,7 +511,7 @@ function isDotNetInstalled() {
encoding: 'utf-8'
}
);
return result.stdout?.includes('.NETCore.App 8.0');
return result.stdout?.includes('.NETCore.App 9.0');
}
function tryCopyFromWinePrefix() {