Skip to content

Commit

Permalink
fix(suite-desktop,autoupdater): fix NODE_ENV param propagation to bui…
Browse files Browse the repository at this point in the history
…ld script for electron

- electron-updater was mocked because of that so it can't work at all

(cherry picked from commit 82d724d)
  • Loading branch information
matejkriz authored and vdovhanych committed Sep 15, 2021
1 parent cc85c69 commit 6b68428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/suite-desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"clean": "rimraf ./build-electron && rimraf ./build && rimraf ./dist",
"copy-files": "yarn workspace @trezor/suite-data copy-static-files",
"build:ui": "rimraf ./build && yarn workspace @trezor/suite-build run build:desktop",
"build:app": "cross-env NODE_ENV=production rimraf ./dist && node scripts/build.js && yarn build:app:electron",
"build:app": "rimraf ./dist && cross-env NODE_ENV=production node scripts/build.js && yarn build:app:electron",
"build:app:electron": "electron-builder --c.extraMetadata.version=$(node -p \"require('../suite/package').suiteVersion\")",
"build:app:linux": "yarn build:app --publish never --linux --x64 --arm64",
"build:app:mac": "yarn build:app --publish never --mac --x64 --arm64",
Expand Down

0 comments on commit 6b68428

Please sign in to comment.