Skip to content

Commit

Permalink
fix: tendermint installation
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybayblade committed Jun 6, 2024
1 parent 5237df7 commit 3962a76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion electron/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,10 @@ async function installTendermintUnix() {

// TOFIX: Install tendermint in .operate instead of globally
if (!Env.CI) {
await runSudoUnix('install', 'tendermint /usr/local/bin');
if (!fs.existsSync("/usr/local/bin")){
await runSudoUnix('mkdir', '/usr/local/bin')
}
await runSudoUnix('install', 'tendermint /usr/local/bin/tendermint');
}
process.chdir(cwd);
}
Expand Down

0 comments on commit 3962a76

Please sign in to comment.