Skip to content

Commit

Permalink
Set the package platform to win instead of win32
Browse files Browse the repository at this point in the history
  • Loading branch information
aisouard committed Mar 28, 2017
1 parent a2fed5e commit 13b3172
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ function fetchModule() {
function fetchLibWebRTC() {
const url = process.env.npm_package_libwebrtc_url;
const version = process.env.npm_package_libwebrtc_version;
const platform = process.platform === 'darwin' ? 'mac' : process.platform;
const platform = process.platform === 'darwin' ? 'mac' :
(process.platform === 'win32' ? 'win' : process.platform);
const fileName = `libwebrtc-${version}-${platform}-${process.arch}`;
const suffix = process.platform === 'win32' ? '.zip' : '.tar.gz';

Expand Down

0 comments on commit 13b3172

Please sign in to comment.