changes needed to build on windows

This commit is contained in:
Brendan Doherty 2022-08-13 05:48:24 +12:00
parent a92e740c88
commit 90f7a205a6
2 changed files with 3 additions and 2 deletions

View file

@ -85,10 +85,10 @@
},
"scripts": {
"start": "cross-env PORT=3001 node scripts/start.js",
"start:browser": "./bin/watch-browser",
"start:browser": "cross-env ./bin/watch-browser",
"watch": "cross-env PORT=3001 node scripts/start.js",
"build": "cross-env INLINE_RUNTIME_CHUNK=false node scripts/build.js",
"build:browser": "./bin/build-browser"
"build:browser": "cross-env./bin/build-browser"
},
"browserslist": [
"electron 3.0"

View file

@ -22,6 +22,7 @@ if [ $NODE_ENV == 'development' ]; then
# Make sure to do this before starting the build since watch mode
# will block
WEBPACK_ARGS="$WEBPACK_ARGS --watch"
export MSYS=winsymlinks:nativestrict
ln -snf "$ROOT"/../lib-dist/browser ../../desktop-client/public/kcab
fi