diff --git a/package.json b/package.json index ca2de4f9..11206736 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "electron-dev": "concurrently \"BROWSER=none yarn start\" \"wait-on http://localhost:3000 && electron .\"", "preelectron-pack": "yarn build", "build-mainnet": "cross-env REACT_APP_NETWORK=mainnet yarn build", - "build-desktop": "cross-env REACT_APP_BUILD_FOR_DESKTOP=true yarn build-mainnet", + "build-desktop": "cross-env REACT_APP_BUILD_FOR_DESKTOP=true REACT_APP_ENV=production yarn build-mainnet", "flow": "flow", "format:staged": "lint-staged", "lint:check": "eslint './src/**/*.{js,jsx}'",