Skip to content

Commit

Permalink
Export ELECTRON_ENV to electronBuilder.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Mar 4, 2022
1 parent 40431f6 commit bfc743a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-desktop.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

ELECTRON_ENV=${1:-development}
export ELECTRON_ENV=${1:-development}

if [[ "$ELECTRON_ENV" == "staging" ]]; then
ENV_FILE=".env.staging"
Expand Down

0 comments on commit bfc743a

Please sign in to comment.