Skip to content

A local-first personal finance app

Conditionally set MSYS

bdoherty18e6eac11678
diff --git a/packages/loot-core/bin/build-browser b/packages/loot-core/bin/build-browser
index 2e0d168088..c2888de823 100755
--- a/packages/loot-core/bin/build-browser
+++ b/packages/loot-core/bin/build-browser
@@ -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"
- export MSYS=winsymlinks:nativestrict
+ 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