Skip to content

Commit

Permalink
Generate DirectPInvoke bindings for w2x and LibSqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
bagusnl committed Oct 22, 2024
1 parent 049bbb5 commit 801d74f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion CollapseLauncher/CollapseLauncher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<DebugType>portable</DebugType>
<GitVersion>false</GitVersion>
<!-- AoT Configs -->
<PublishAot>false</PublishAot>
<PublishAot>true</PublishAot>
<!-- WinUI Properties -->
<UseWinUI>true</UseWinUI>
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
Expand All @@ -52,6 +52,12 @@
<PropertyGroup Condition="'$(PublishAot)' == 'true'">
<RunAOTCompilation>true</RunAOTCompilation>
</PropertyGroup>

<ItemGroup Condition="'$(PublishAot)' == 'true'">
<DirectPInvoke Include="Lib\\waifu2x-ncnn-vulkan" />
<!-- DLL for LibSqlite -->
<DirectPInvoke Include="csharp_bindings" />
</ItemGroup>

<!--
Constants List:
Expand Down
14 changes: 14 additions & 0 deletions Hi3Helper.TaskScheduler/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@
"resolved": "6.8.2",
"contentHash": "sjGHrtGS1+kcrv99WXCvujOFBTQp4zCH3ZC9wo2LAtVaJkuLpHghQx3y4k1Q8ZKuDAbEw+HE6ZjPUJQK3ejepQ=="
},
"Microsoft.NETFramework.ReferenceAssemblies": {
"type": "Direct",
"requested": "[1.0.3, )",
"resolved": "1.0.3",
"contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==",
"dependencies": {
"Microsoft.NETFramework.ReferenceAssemblies.net462": "1.0.3"
}
},
"System.Net.Http": {
"type": "Direct",
"requested": "[4.3.4, )",
Expand Down Expand Up @@ -60,6 +69,11 @@
"resolved": "1.1.0",
"contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A=="
},
"Microsoft.NETFramework.ReferenceAssemblies.net462": {
"type": "Transitive",
"resolved": "1.0.3",
"contentHash": "IzAV30z22ESCeQfxP29oVf4qEo8fBGXLXSU6oacv/9Iqe6PzgHDKCaWfwMBak7bSJQM0F5boXWoZS+kChztRIQ=="
},
"Microsoft.Win32.Primitives": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down

0 comments on commit 801d74f

Please sign in to comment.