macos SQLite lib

This commit is contained in:
Natsumi
2025-02-05 06:07:02 +13:00
parent 612c5f115b
commit c15e694d5b
5 changed files with 6 additions and 2 deletions

View File

@@ -80,9 +80,9 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<TargetPath>SQLite.Interop.dll</TargetPath>
</None>
<None Include="libs\linux\System.Data.SQLite.dll" Condition="$([MSBuild]::IsOSPlatform('Linux'))">
<None Include="libs\macos\SQLite.Interop.dll" Condition="$([MSBuild]::IsOSPlatform('OSX'))">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<TargetPath>System.Data.SQLite.dll</TargetPath>
<TargetPath>SQLite.Interop.dll</TargetPath>
</None>
<Content Include="..\VRCX.ico">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

Binary file not shown.

Binary file not shown.

View File

@@ -504,6 +504,10 @@ function getVersion() {
}
function isDotNetInstalled() {
if (process.platform === 'darwin') {
// Assume .NET is already installed on macOS
return true;
}
const result = require('child_process').spawnSync(
'dotnet',
['--list-runtimes'],