Installation for Windows:

Our Electron SDK comes with a sample app. Please use the following steps to set it up.

  • Install python 2.7.x and setuptools
  • Install nodejs v6.10.3 32bits
  • Install Electron
    • npm install –g electron
    • npm install –g –arch=ia32 electron-prebuilt
  • The addon is built by VS2015, if you are not using VS2015 or windows 10, please install x86 crt library of VS2015: vcredist_x86.exe
  • Copy zoom_electron to local directory
  • Download the latest Zoom windows SDK from git
  • Unzip zoom sdk package, copy contents under “bin” to zoom_electron\lib\node_modules\zoomsdk\build\Release
  • Run “cmd” as admin, cd to zoom_electron/demo
  • Run “npm set npm_config_arch is32”
  • Run Electron – on windows, its “electron .”

Installation for Mac:

  1. Install Brew

curl -LsSf | sudo tar xvz -C/usr/local –strip 1

  1. Install npm and Node.js

brew install node

  1. Install Electron

i: sudo npm install -g electron –unsafe-perm=true

   cd /usr/local/lib/node_modules/electron

ii: npm install nodobjc

iii: npm install –save-dev electron-rebuild

iv: ./node_modules/.bin/electron-rebuild

v: npm rebuild –runtime=electron –target=1.7.9 –disturl= –build-from-source

To Run it:

  1. Make sure u have installed Electron successfully.
  2. Get Electron release package contains three zip: Demo_, Lib_, mac_sdk_*

    Demo_*: the Electron demo

    Lib_*: JS files that make the bridge from JS to ObjectC

    mac_sdk_*: Zoom Mac SDK ObjectC libs.

  3. unzip the three zips above, will show three folders: /demo, /lib, /ZoomSDK
  • copy the node_modules folder located in /usr/local/lib/node_modules/electron/node_modules to /demo
  • copy folder /ZoomSDK to both /node_modules folder
  • copy all libs contained in /ZoomSDK to /usr/local/lib/node_modules/electron/dist/ folder
  • cd /demo folder and run command “electron .”