/
githubmirror
/
hyper
Обзор
Документация
Войти
/
githubmirror
/
hyper
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
3.0.2
lib/actions/updater.js
21 строка
414 B
CHaBou
Use same `hazel` endpoint to notify update to Linux users (#2497)
29 ноя 2017, 16:26
Не верифицирован
29 ноя 2017, 16:26
1fbc857
Код
Авторство
О чём код?
import {UPDATE_INSTALL, UPDATE_AVAILABLE} from '../constants/updater'; import rpc from '../rpc'; export function installUpdate() { return { type: UPDATE_INSTALL, effect: () => { rpc.emit('quit and install'); } }; } export function updateAvailable(version, notes, releaseUrl, canInstall) { return { type: UPDATE_AVAILABLE, version, notes, releaseUrl, canInstall }; }