Skip to content

Commit 5efcbe5

Browse files
committed
fix: deployment
1 parent ab0fe44 commit 5efcbe5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
"electron:dev": "export NODE_ENV=development && yarn electron:devcore",
1919
"electron:devcore": "concurrently \"BROWSER=none yarn start\" \"wait-on http://localhost:3000 && tsc -p electron -w\" \"wait-on http://localhost:3000 && tsc -p electron && electron .\"",
2020
"electron:windev": "concurrently \"SET NODE_ENV=none && SET BROWSER=none && yarn start\" \"wait-on http://localhost:3000 && tsc -p electron -w\" \"wait-on http://localhost:3000 && tsc -p electron && electron .\"",
21-
"electron:pre-build": "NODE_OPTIONS=--openssl-legacy-provider=false && yarn build && yarn copy-macos-manifest && tsc -p electron",
21+
"electron:pre-build": "export NODE_OPTIONS=--openssl-legacy-provider && yarn build && yarn copy-macos-manifest && tsc -p electron",
2222
"copy-macos-manifest": "copyfiles entitlements* ./build/",
2323
"clean-builds": "rimraf build && rimraf dist",
24-
"electron:build": "cross-env NODE_OPTIONS=\"--max_old_space_size=8192\" && yarn clean-builds && NODE_OPTIONS=--openssl-legacy-provider=false && yarn build && yarn copy-macos-manifest && tsc -p electron && electron-builder --publish=never",
24+
"electron:build": "cross-env NODE_OPTIONS=\"--max_old_space_size=8192\" && yarn clean-builds && export NODE_OPTIONS=--openssl-legacy-provider && yarn build && yarn copy-macos-manifest && tsc -p electron && electron-builder --publish=never",
2525
"electron:winbuild": "cross-env NODE_OPTIONS=\"--max_old_space_size=8192\" && yarn clean-builds && set NODE_OPTIONS=--openssl-legacy-provider && yarn build && yarn copy-macos-manifest && tsc -p electron && electron-builder --publish=never",
2626
"lint-staged": "lint-staged",
2727
"lint:js": "eslint --cache --fix --ext .js,.jsx,.ts,.tsx --format=pretty ./src",

0 commit comments

Comments
 (0)