Install Windows SDK by installing Visual Studio (requirement of node-gyp, select MS SDK and Classic Console CPP apps in Visual Studio Installer) Install Python Install pyinstaller pip module globally:
pip install pyinstaller
Install virtualenv pip package globally:
pip install virtualenv
Create a Virtual Environment using “virtualenv” pip module wich was installed at previous step:
# write it in root dir
cd src/python
virtualenv venv
FIX Syntax error when trying to import comtypes:
# write it in src/python dir
source venv/Scripts/activate
pip install setuptools==57.0.0
pip install wheel==0.36.2
pip uninstall comtypes
pip install --no-cache-dir comtypes
pip install -r requirements.txt
Activate Virtual Environment and install requirements:
# write it in src/python dir
source venv/Scripts/activate
pip install -r requirements.txt
Install node-gyp npm package globally:
npm i -g node-gyp
Install rimraf npm package globally:
npm i -g rimraf
Install concurrently npm package globally:
npm i -g concurrently
Install electron-rebuild npm package globally:
npm i -g electron-rebuild
Install yarn npm package globally:
npm i -g yarn
Copy github personal token with repo scope from package.json and add it to Windows environment variables as GH_TOKEN.
Before "yarn deploy" dont forget to bump app version in src/package.json
# start
yarn start
# package all app without publish
yarn package
# package all app and publish it to github
yarn deploy