Open amilajack opened 7 years ago
The output of installing locally on osx is this:
> wcjs-prebuilt@3.0.0 postinstall /Users/amila/Documents/Projects/popcorn-time-desktop/node_modules/wcjs-prebuilt
> node install.js
Fetching WebChimera prebuilt for Electron:
WebChimera version: v0.2.6
Electron version: v1.2.6
Platform: osx
Arch: x64
Target dir: ./bin
Looking for WebChimera download at https://api.github.com/repos/RSATom/WebChimera.js/releases/tags/v0.2.6
WebChimera.js_electron_0.33.9_ia32_win.zip doesn't include VLC
WebChimera.js_electron_0.37.6_ia32_win.zip doesn't include VLC
WebChimera.js_electron_0.37.6_x64_osx.zip doesn't include VLC
WebChimera.js_electron_0.37.8_ia32_win.zip doesn't include VLC
WebChimera.js_electron_0.37.8_x64_osx.zip doesn't include VLC
WebChimera.js_electron_1.2.6_ia32_win.zip doesn't include VLC
WebChimera.js_electron_1.2.6_x64_osx.zip doesn't include VLC
WebChimera.js_electron_1.2.6_x64_win.zip doesn't include VLC
WebChimera.js_nw_0.15.4_ia32_win.zip doesn't include VLC
WebChimera.js_nw_0.15.4_x64_osx.zip doesn't include VLC
WebChimera.js_nw_0.15.4_x64_win.zip doesn't include VLC
WebChimera.js_v0.2.6_electron_v0.33.9_VLC_v2.2.4_ia32_win.zip not matching environment
WebChimera.js_v0.2.6_electron_v0.37.6_VLC_v2.2.4_ia32_win.zip not matching environment
WebChimera.js_v0.2.6_electron_v0.37.6_VLC_v2.2.4_x64_osx.tar.gz not matching environment
WebChimera.js_v0.2.6_electron_v0.37.8_VLC_v2.2.4_ia32_win.zip not matching environment
WebChimera.js_v0.2.6_electron_v0.37.8_VLC_v2.2.4_x64_osx.tar.gz not matching environment
WebChimera.js_v0.2.6_electron_v1.2.6_VLC_v2.2.4_ia32_win.zip not matching environment
WebChimera.js_v0.2.6_electron_v1.2.6_VLC_v2.2.4_x64_osx.tar.gz matching environment
Identical but when running in CI it can't download it?
When installing WebChimera.js using wcjs-prebuilt on travis ci with the osx image, the downloader does not properly detect the environment:
A possible solution could be using
process.env.TRAVIS_OS_NAME === 'osx'
to determine this.