run daemon install even in local build

This commit is contained in:
Alex Grintsvayg 2017-04-19 15:16:29 -04:00
parent 1853c688da
commit 2e9e0f129b

View file

@ -72,17 +72,15 @@ npm install
# daemon and cli # # daemon and cli #
#################### ####################
if [ "$FULL_BUILD" == "true" ]; then if $OSX; then
if $OSX; then OSNAME="macos"
OSNAME="macos" else
else OSNAME="linux"
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"
fi 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 # # Build the app #