Skip to content

Commit

Permalink
Merge pull request #4 from saucelabs/fix-404-for-win
Browse files Browse the repository at this point in the history
Fix saucectl file suffix for windows
  • Loading branch information
tianfeng92 authored Oct 19, 2020
2 parents fc6208c + 87fd08d commit 286c7a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const bin = new BinWrapper()
.src(`${base}/v${version}/saucectl_${version}_mac_64-bit.tar.gz`, 'darwin', 'x64')
.src(`${base}/v${version}/saucectl_${version}_linux_32-bit.tar.gz`, 'linux', 'x86')
.src(`${base}/v${version}/saucectl_${version}_linux_64-bit.tar.gz`, 'linux', 'x64')
.src(`${base}/v${version}/saucectl_${version}_win_32-bit.tar.gz`, 'win32', 'x86')
.src(`${base}/v${version}/saucectl_${version}_win_32-bit.tar.gz`, 'win32', 'x64')
.src(`${base}/v${version}/saucectl_${version}_win_64-bit.tar.gz`, 'win64', 'x64')
.src(`${base}/v${version}/saucectl_${version}_win_32-bit.zip`, 'win32', 'x86')
.src(`${base}/v${version}/saucectl_${version}_win_32-bit.zip`, 'win32', 'x64')
.src(`${base}/v${version}/saucectl_${version}_win_64-bit.zip`, 'win64', 'x64')
.dest(path.join(__dirname, 'bin'))
.use(process.platform.startsWith('win') ? 'saucectl.exe' : 'saucectl')
.version(`v${version}`);
Expand Down

0 comments on commit 286c7a9

Please sign in to comment.