diff --git a/scripts/electron-package.sh b/scripts/electron-package.sh index 6faad2bb..1403b1b2 100755 --- a/scripts/electron-package.sh +++ b/scripts/electron-package.sh @@ -73,12 +73,12 @@ projdir=`pwd` builddir=`mktemp -d 2>/dev/null || mktemp -d -t 'buildtmp'` pushd "$builddir" -# Figure out what version we're building -vername=`jq -r .version package.json` - git clone "$projdir" . git checkout "$version" +# Figure out what version we're building +vername=`jq -r .version package.json` + if [ -n "$conffile" ]; then popd cp "$conffile" "$builddir/"