Skip to content

Commit

Permalink
refix the path to the holochain-runner binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Connoropolous committed Oct 25, 2023
1 parent 2fc3e6a commit 28a34ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/copy-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
echo $OSTYPE

if [[ $OSTYPE == 'darwin'* ]]; then
cp node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner electron/binaries/holochain-runner
cp electron/node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner electron/binaries/holochain-runner
elif [[ $OSTYPE == 'linux-gnu'* ]]; then
cp node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner electron/binaries/holochain-runner
cp electron/node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner electron/binaries/holochain-runner
elif [[ $OSTYPE == "cygwin" ]]; then
# POSIX compatibility layer and Linux environment emulation for Windows
cp node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner.exe electron/binaries/holochain-runner.exe
cp electron/node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner.exe electron/binaries/holochain-runner.exe
elif [[ $OSTYPE == "msys" ]]; then
# Lightweight shell and GNU utilities compiled for Windows (part of MinGW)
cp node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner.exe electron/binaries/holochain-runner.exe
cp electron/node_modules/@lightningrodlabs/electron-holochain/binaries/holochain-runner.exe electron/binaries/holochain-runner.exe
fi

0 comments on commit 28a34ce

Please sign in to comment.