Skip to content

Commit

Permalink
Merge branch 'main' of github.com:holochain/launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Jan 26, 2022
2 parents d58ab1b + 593fc32 commit 23e8d9a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/setup-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
rm -rf src-tauri/bins/
mkdir src-tauri/bins

TARGET_TRIPLE=$(rustc -vV | sed -n 's/^.*host: \(.*\)*$/\1/p')

HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH src-tauri/bins/holochain-x86_64-unknown-linux-gnu
cp $HOLOCHAIN_PATH src-tauri/bins/holochain-$TARGET_TRIPLE

LAIR_PATH=$(which lair-keystore)
cp $LAIR_PATH src-tauri/bins/lair-keystore-x86_64-unknown-linux-gnu
cp $LAIR_PATH src-tauri/bins/lair-keystore-$TARGET_TRIPLE

CADDY_PATH=$(which caddy)
cp $CADDY_PATH src-tauri/bins/caddy-x86_64-unknown-linux-gnu
cp $CADDY_PATH src-tauri/bins/caddy-$TARGET_TRIPLE

0 comments on commit 23e8d9a

Please sign in to comment.