From 7580b46b5be62f1bedaf33369c1b1d7bf554b1e7 Mon Sep 17 00:00:00 2001 From: Mikunj Date: Tue, 21 Jul 2020 13:18:04 +1000 Subject: [PATCH] Fix build-release command --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d37bdca13..40e0fd910 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "grunt": "grunt", "icon-gen": "electron-icon-maker --input=images/icon_1024.png --output=./build", "generate": "yarn icon-gen && yarn grunt", - "build-release": "cross-env SIGNAL_ENV=production npm run build -- --config.directories.output=release", + "build-release": "cross-env SIGNAL_ENV=production electron-builder --config.extraMetadata.environment=production --publish=never --config.directories.output=release", "build-module-protobuf": "pbjs --target static-module --wrap commonjs --out ts/protobuf/compiled.js protos/*.proto && pbts --out ts/protobuf/compiled.d.ts ts/protobuf/compiled.js --force-long", "clean-module-protobuf": "rm -f ts/protobuf/compiled.d.ts ts/protobuf/compiled.js", "build-protobuf": "yarn build-module-protobuf",