fix: fix presenter build on windows

This commit is contained in:
Ashhhleyyy 2024-03-24 13:18:49 +00:00
parent 4fcd72a2b1
commit 3cd70699e0
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -10,7 +10,7 @@
}, },
"scripts": { "scripts": {
"presenter-install": "cd presenter && git submodule update --init && yarn --network-timeout 100000", "presenter-install": "cd presenter && git submodule update --init && yarn --network-timeout 100000",
"presenter-make": "npm run presenter-install && (rm -r presenter-build || true) && cd presenter && NODE_OPTIONS=--openssl-legacy-provider yarn build-baps && cp -r build ../presenter-build && cd ../ && npm install", "presenter-make": "npm run presenter-install && (rm -r presenter-build || true) && cd presenter && set NODE_OPTIONS=--openssl-legacy-provider&& yarn build-baps && cp -r build ../presenter-build && cd ../ && npm install",
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"presenter-start": "cd presenter && yarn start-baps", "presenter-start": "cd presenter && yarn start-baps",
"lint": "./venv/bin/autopep8 -r -a -a --ignore E402,E226,E24,W50,W690 --max-line-length 127 --in-place --exclude=\"*node_modules*,*venv/*,presenter/*\" . && ./venv/bin/flake8 . --exclude=\"*node_modules*,*venv/*,presenter/*\" --count --ignore=E402,E226,E24,W50,W690 --max-complexity=25 --max-line-length=127 --statistics" "lint": "./venv/bin/autopep8 -r -a -a --ignore E402,E226,E24,W50,W690 --max-line-length 127 --in-place --exclude=\"*node_modules*,*venv/*,presenter/*\" . && ./venv/bin/flake8 . --exclude=\"*node_modules*,*venv/*,presenter/*\" --count --ignore=E402,E226,E24,W50,W690 --max-complexity=25 --max-line-length=127 --statistics"