-
Notifications
You must be signed in to change notification settings - Fork 5
Installer
Basic Idea: Bundle our own, platform-specific cate-conda (= Python 3.5 + cate package + cate dependencies) installer with Electron. Then execute cate-conda installer in slient mode when cate-desktop app is started for the very first time.
Note, we have to install Python + cate-core into our electron application directory, because currently Anaconda/MiniConda environments are not relocatable. See also Anaconda issue #270.
We currently use electron-builder to build the cate-desktop installers. The built installers are one-click installers, and Cate will be installed into typical, platform-spacific location. The user has no choice where Cate will finally be installed.
We should configure electron-builder to also include a platform-specific cate-core installer.
Assuming cate-desktop's installation directory is %CATE_HOME%
, then the following command must be executed in order to run the cate-conda installer in silent mode:
start /wait "" %CATE_HOME%\cate-core-0.6.0-Windows-x86_64.exe /AddToPath=0 /RegisterPython=0 /S /D=%CATE_HOME%\python
TODO