From 53a1cdf5bee2955995dfbf441f5354d1dcfc1e0c Mon Sep 17 00:00:00 2001 From: Joel Stålnacke Date: Fri, 11 Oct 2024 13:31:44 +0300 Subject: Add Godot client --- Djup.Native/patch-deps.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 Djup.Native/patch-deps.sh (limited to 'Djup.Native/patch-deps.sh') diff --git a/Djup.Native/patch-deps.sh b/Djup.Native/patch-deps.sh new file mode 100755 index 0000000..d1f3bbf --- /dev/null +++ b/Djup.Native/patch-deps.sh @@ -0,0 +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")" +echo -n "$patched" > "$depsjson" -- cgit v1.2.3