From abcd780bd17b52102be362d7b124275d8e56218a Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Wed, 9 Aug 2023 11:48:12 +0400 Subject: [PATCH] Updated patches --- patcher.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patcher.sh b/patcher.sh index 37ebd66..f404ace 100644 --- a/patcher.sh +++ b/patcher.sh @@ -18,9 +18,9 @@ patch_reqwest4j () { patcher \ reqwest-jni/build.gradle.kts \ -e 's/command\.set\("cross"\)/command.set("cargo")/' \ - -e ' /command\.set\("cargo"\)/a cargoInstallTargets.set(true)' \ + -e ' /command\.set\("cargo"\)/a targets += target("x86_64-unknown-linux-musl", "libreqwest.so")' \ -e ' /targets \+= target\(".*-unknown-linux-gnu", "libreqwest\.so"\)/d' \ - -e ' /cargoInstallTargets\.set\(true\)/a targets += target("x86_64-unknown-linux-musl", "libreqwest.so")' + -e ' /targets \+= target\(".*-pc-windows-gnu", "libreqwest\.dll"\)/d' } patcher () {