Skip to content

Commit b6450aa

Browse files
committed
[DDW-596] One moar Windows fix
1 parent 15126d9 commit b6450aa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

yarn2nix.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ yarn2nix.mkYarnPackage {
127127
128128
cd $out/resources/app/
129129
unzip ${./nix/windows-usb-libs.zip}
130+
131+
# Investigate why this is needed:
132+
chmod -R +w $out
133+
mkdir -p $out/resources/app/node_modules/usb-detection/build
134+
cp $out/resources/app/build/Debug/detection.node $out/resources/app/node_modules/usb-detection/build
130135
'' else ''
131136
mkdir -pv home/.cache/
132137
export HOME=$(realpath home)

0 commit comments

Comments
 (0)