Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Installer

Norman Fomferra edited this page Nov 23, 2016 · 3 revisions

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.

Installing Electron and cate-desktop app

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.

Installing Python and cate-core

Windows

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

Linux and Darwin

TODO