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 #
|
# 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 #
|
||||||
|
|
Loading…
Reference in a new issue