From 745406dc65aecc438a53f96badc387a32b7a338f Mon Sep 17 00:00:00 2001 From: Joel Stålnacke Date: Thu, 19 Mar 2026 22:30:56 +0200 Subject: Add Mibo project The Djup project is DesktopGL project --- Djup.Native/scripts/AddRuntimeTargetsToDepsJson.targets | 12 ++++++++++++ Djup.Native/scripts/patch-deps.sh | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 Djup.Native/scripts/AddRuntimeTargetsToDepsJson.targets create mode 100755 Djup.Native/scripts/patch-deps.sh (limited to 'Djup.Native/scripts') diff --git a/Djup.Native/scripts/AddRuntimeTargetsToDepsJson.targets b/Djup.Native/scripts/AddRuntimeTargetsToDepsJson.targets new file mode 100644 index 0000000..fbb4c43 --- /dev/null +++ b/Djup.Native/scripts/AddRuntimeTargetsToDepsJson.targets @@ -0,0 +1,12 @@ + + + + + + + diff --git a/Djup.Native/scripts/patch-deps.sh b/Djup.Native/scripts/patch-deps.sh new file mode 100755 index 0000000..8015323 --- /dev/null +++ b/Djup.Native/scripts/patch-deps.sh @@ -0,0 +1,4 @@ +#!/bin/sh +depsjson="$(find "$1" -name '*.deps.json')" +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" -- cgit v1.2.3