gitkraken: simplify nodegit change

This commit is contained in:
Jay Turner
2026-04-17 16:03:59 +01:00
parent d1873d4c70
commit f7d3d0c85c
+3 -7
View File
@@ -207,13 +207,9 @@ let
# SSL and permissions fix for bundled nodegit
pushd $out/share/${pname}/resources/app.asar.unpacked/node_modules/@axosoft/nodegit/build/Release
nodegitBinary=nodegit-ubuntu-20
if [ -e nodegit-x64-ubuntu-20.node ]; then
nodegitBinary=nodegit-x64-ubuntu-20
fi
mv $nodegitBinary.node $nodegitBinary-ssl-1.1.1.node
mv $nodegitBinary-ssl-static.node $nodegitBinary.node
chmod 755 $nodegitBinary.node
mv nodegit-x64-ubuntu-20.node nodegit-x64-ubuntu-20-ssl-1.1.1.node
mv nodegit-x64-ubuntu-20-ssl-static.node nodegit-x64-ubuntu-20.node
chmod 755 nodegit-ubuntu-20.node
popd
# Devendor bundled git