The app is configured via a JSON file that is built at compile time.
The build process is:
- The
config-base.json
file is used as the base config - Values from the appropriate build config files then override the base values
- Final config is stored in
desktop/config.json
, which is then used by the app
server_port
- Calypso server port
server_url
- Calypso server URL for development against localhost
server_host
- Calypso server host name
debug
- false
to disable, or a set of debug config
mainWindow
- main app window config
preferencesWindow
- preference window config
aboutWindow
- about window config
secretWindow
- secret window config
crash_reporter
- crash reporter config
updater
- auto updater config
settings_filename
- filename used for the user settings (see lib/settings)
default_settings
- default values used for the user settings
enabled_by_default
- whether debug mode is enabled by default
namespace
- the debug namespace
clear_log
- whether to clear the log at app start
colors
- whether to show colors in debug output
url
- Base URL for the updater
delay
- Delay after app starts before checking for updates (ms)
interval
- Interval between each update check (ms)
url
- a URL used to post crash reports
tracker
- enable crash tracking (see lib/crash-tracker)
electron
- enable Electron crash reporter
Window config is taken directly from the Electron BrowserWindow