diff --git a/wire-build.sh b/wire-build.sh index 99cdb43..f479d45 100755 --- a/wire-build.sh +++ b/wire-build.sh @@ -89,9 +89,9 @@ build_deb(){ npm install npm update npm install grunt - ${SUPER_USER_CMD} "grunt ${UPDATE_OPTS}" - ${SUPER_USER_CMD} "grunt ${BUILD_OPTS}" - ${SUPER_USER_CMD} "mv -v ${PACKAGE_DEFAULT_DIR}/*.deb ${BIN_DIR}" + ${SUPER_USER_CMD} grunt 'clean:linux' 'update-keys' 'release-prod' + ${SUPER_USER_CMD} grunt --arch=${ARCH} --target=${TARGET} 'electronbuilder:linux_other' + ${SUPER_USER_CMD} mv -v ${PACKAGE_DEFAULT_DIR}/*.${TARGET} ${BIN_DIR} } build_rpm(){ @@ -105,7 +105,7 @@ build_rpm(){ npm install grunt ${SUPER_USER_CMD} grunt 'clean:linux' 'update-keys' 'release-prod' ${SUPER_USER_CMD} grunt --arch=${ARCH} --target=${TARGET} 'electronbuilder:linux_other' - ${SUPER_USER_CMD} mv -v ${PACKAGE_DEFAULT_DIR}/*.rpm ${BIN_DIR} + ${SUPER_USER_CMD} mv -v ${PACKAGE_DEFAULT_DIR}/*.${TARGET} ${BIN_DIR} } git_pull(){