Unverified Commit f7d3d0c8 authored by Jay Turner's avatar Jay Turner
Browse files

gitkraken: simplify nodegit change

parent d1873d4c
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -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