Skip to content

Commit 33a27b7

Browse files
committed
fix channel
1 parent a3399b9 commit 33a27b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/remixdesktop/test/nighwatch.app.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ module.exports = {
8686

8787
switch (type) {
8888
case 'Windows_NT':
89-
binaryPath = `./release/win-unpacked/Remix-Desktop-${channel}.exe`;
89+
binaryPath = `./release/win-unpacked/Remix-Desktop${channel ? '-' + channel : ''}.exe`;
9090
break;
9191
case 'Darwin':
9292
binaryPath = arch === 'x64' ?
93-
`release/mac/Remix-Desktop-${channel}.app/Contents/MacOS/Remix-Desktop-${channel}` :
94-
`release/mac-arm64/Remix-Desktop-${channel}.app/Contents/MacOS/Remix-Desktop-${channel}`;
93+
`release/mac/Remix-Desktop${channel ? '-' + channel : ''}.app/Contents/MacOS/Remix-Desktop${channel ? '-' + channel : ''}` :
94+
`release/mac-arm64/Remix-Desktop${channel ? '-' + channel : ''}.app/Contents/MacOS/Remix-Desktop${channel ? '-' + channel : ''}`;
9595
break;
9696
case 'Linux':
9797
binaryPath = "release/linux-unpacked/remixdesktop";

0 commit comments

Comments
 (0)