...
Code Block | ||||
---|---|---|---|---|
| ||||
curl -sLo- https://rpmraw.nodesourcegithubusercontent.com/setup_10.xnvm-sh/nvm/v0.39.1/install.sh | sudo bash - yum -y nvm install nodejs12 npm install -g grunt |
4. Install npm modules
Code Block | ||||
---|---|---|---|---|
| ||||
cd flashphoner_client-wcs_api-2.0 npm install sed -i -e 's@static-link-runtime-shared-libraries=true@static-link-runtime-shared-libraries=false@g' node_modules/grunt-flash-compiler/tasks/flash-compiler.js |
5. Build WebSDK
Building all the bundles
...
by default
To build all the bundles run the following
Code Block | ||||
---|---|---|---|---|
| ||||
FLEX_HOME=~/flex_sdk_4.6 grunt release |
Building all the bundles including Flash support
To build all the bundles with Flash support only run the following
Code Block | ||||
---|---|---|---|---|
| ||||
FLEX_HOME=~/flex_sdk_4.6 grunt with-flash |
...
Since build 2.0.222, Flash will not work even in a browsers where it is still available without this step.
Building mediaproviders bundles
To build bundles with excluded media providers run the following
...