Conditionally set MSYS

Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
This commit is contained in:
bdoherty 2022-08-31 07:31:03 +12:00 committed by GitHub
parent fecca411b0
commit 18e6eac116
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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