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
+2 -2
View File
@@ -80,9 +80,9 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<TargetPath>SQLite.Interop.dll</TargetPath> <TargetPath>SQLite.Interop.dll</TargetPath>
</None> </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> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<TargetPath>System.Data.SQLite.dll</TargetPath> <TargetPath>SQLite.Interop.dll</TargetPath>
</None> </None>
<Content Include="..\VRCX.ico"> <Content Include="..\VRCX.ico">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4
View File
@@ -504,6 +504,10 @@ function getVersion() {
} }
function isDotNetInstalled() { function isDotNetInstalled() {
if (process.platform === 'darwin') {
// Assume .NET is already installed on macOS
return true;
}
const result = require('child_process').spawnSync( const result = require('child_process').spawnSync(
'dotnet', 'dotnet',
['--list-runtimes'], ['--list-runtimes'],