mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Ensure correct update channel is displayed in About window (#2130)
This commit is contained in:
parent
a2d4936e50
commit
356f93ff04
1 changed files with 5 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue