Skip to content
Snippets Groups Projects
Commit 90f7a205 authored by Brendan Doherty's avatar Brendan Doherty
Browse files

changes needed to build on windows

parent a92e740c
No related branches found
No related tags found
No related merge requests found
...@@ -85,10 +85,10 @@ ...@@ -85,10 +85,10 @@
}, },
"scripts": { "scripts": {
"start": "cross-env PORT=3001 node scripts/start.js", "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", "watch": "cross-env PORT=3001 node scripts/start.js",
"build": "cross-env INLINE_RUNTIME_CHUNK=false node scripts/build.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": [ "browserslist": [
"electron 3.0" "electron 3.0"
......
...@@ -22,6 +22,7 @@ if [ $NODE_ENV == 'development' ]; then ...@@ -22,6 +22,7 @@ if [ $NODE_ENV == 'development' ]; then
# Make sure to do this before starting the build since watch mode # Make sure to do this before starting the build since watch mode
# will block # will block
WEBPACK_ARGS="$WEBPACK_ARGS --watch" WEBPACK_ARGS="$WEBPACK_ARGS --watch"
export MSYS=winsymlinks:nativestrict
ln -snf "$ROOT"/../lib-dist/browser ../../desktop-client/public/kcab ln -snf "$ROOT"/../lib-dist/browser ../../desktop-client/public/kcab
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment