diff --git a/app/menus/menu.js b/app/menus/menu.js index 4f4493db3a08..fff07157f387 100644 --- a/app/menus/menu.js +++ b/app/menus/menu.js @@ -19,7 +19,11 @@ module.exports = (createWindow, updatePlugins, getLoadedPluginVersions) => { const config = getConfig(); const {commands} = getKeymaps(); - const updateChannel = config.canaryUpdates ? 'canary' : 'stable'; + let updateChannel = 'stable'; + + if (config && config.updateChannel && config.updateChannel === 'canary') { + updateChannel = 'canary'; + } const showAbout = () => { const loadedPlugins = getLoadedPluginVersions();