mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 05:38: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 config = getConfig();
|
||||||
const {commands} = getKeymaps();
|
const {commands} = getKeymaps();
|
||||||
|
|
||||||
const updateChannel = config.canaryUpdates ? 'canary' : 'stable';
|
let updateChannel = 'stable';
|
||||||
|
|
||||||
|
if (config && config.updateChannel && config.updateChannel === 'canary') {
|
||||||
|
updateChannel = 'canary';
|
||||||
|
}
|
||||||
|
|
||||||
const showAbout = () => {
|
const showAbout = () => {
|
||||||
const loadedPlugins = getLoadedPluginVersions();
|
const loadedPlugins = getLoadedPluginVersions();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue