summaryrefslogtreecommitdiff
path: root/Djup.Native
diff options
context:
space:
mode:
Diffstat (limited to 'Djup.Native')
-rw-r--r--Djup.Native/Djup.Native.csproj2
-rwxr-xr-xDjup.Native/patch-deps.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Djup.Native/Djup.Native.csproj b/Djup.Native/Djup.Native.csproj
index 107e293..f3c2781 100644
--- a/Djup.Native/Djup.Native.csproj
+++ b/Djup.Native/Djup.Native.csproj
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFramework>net8.0</TargetFramework>
+ <TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
diff --git a/Djup.Native/patch-deps.sh b/Djup.Native/patch-deps.sh
index d1f3bbf..8015323 100755
--- a/Djup.Native/patch-deps.sh
+++ b/Djup.Native/patch-deps.sh
@@ -1,4 +1,4 @@
#!/bin/sh
depsjson="$(find "$1" -name '*.deps.json')"
-patched="$(jq '.targets.".NETCoreApp,Version=v8.0"."Djup.Native/1.0.0" += {"runtimeTargets": {"runtimes/linux-x64/native/libdjup.so": {"rid": "linux-x64", "assetType": "native"} }}' "$depsjson")"
+patched="$(jq '.targets.".NETCoreApp,Version=v10.0"."Djup.Native/1.0.0" += {"runtimeTargets": {"runtimes/linux-x64/native/libdjup.so": {"rid": "linux-x64", "assetType": "native"} }}' "$depsjson")"
echo -n "$patched" > "$depsjson"