run daemon install even in local build
This commit is contained in:
parent
1853c688da
commit
2e9e0f129b
1 changed files with 9 additions and 11 deletions
|
@ -72,17 +72,15 @@ npm install
|
|||
# daemon and cli #
|
||||
####################
|
||||
|
||||
if [ "$FULL_BUILD" == "true" ]; then
|
||||
if $OSX; then
|
||||
OSNAME="macos"
|
||||
else
|
||||
OSNAME="linux"
|
||||
fi
|
||||
DAEMON_URL="$(cat "$BUILD_DIR/DAEMON_URL" | sed "s/OSNAME/${OSNAME}/")"
|
||||
wget --quiet "$DAEMON_URL" -O "$BUILD_DIR/daemon.zip"
|
||||
unzip "$BUILD_DIR/daemon.zip" -d "$ROOT/app/dist/"
|
||||
rm "$BUILD_DIR/daemon.zip"
|
||||
if $OSX; then
|
||||
OSNAME="macos"
|
||||
else
|
||||
OSNAME="linux"
|
||||
fi
|
||||
DAEMON_URL="$(cat "$BUILD_DIR/DAEMON_URL" | sed "s/OSNAME/${OSNAME}/")"
|
||||
wget --quiet "$DAEMON_URL" -O "$BUILD_DIR/daemon.zip"
|
||||
unzip "$BUILD_DIR/daemon.zip" -d "$ROOT/app/dist/"
|
||||
rm "$BUILD_DIR/daemon.zip"
|
||||
|
||||
###################
|
||||
# Build the app #
|
||||
|
@ -116,4 +114,4 @@ if [ "$FULL_BUILD" == "true" ]; then
|
|||
echo 'Build and packaging complete.'
|
||||
else
|
||||
echo 'Build complete. Run `./node_modules/.bin/electron app` to launch the app'
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue