mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 14:38:21 +00:00
lint
This commit is contained in:
@@ -25,26 +25,7 @@ import Promise from 'bluebird';
|
|||||||
import rageshake from 'matrix-react-sdk/lib/rageshake/rageshake';
|
import rageshake from 'matrix-react-sdk/lib/rageshake/rageshake';
|
||||||
|
|
||||||
const ipcRenderer = window.ipcRenderer;
|
const ipcRenderer = window.ipcRenderer;
|
||||||
var globalKeybindings = {};
|
const globalKeybindings = {};
|
||||||
|
|
||||||
remote.autoUpdater.on('update-downloaded', onUpdateDownloaded);
|
|
||||||
|
|
||||||
var globalKeybindings = {};
|
|
||||||
|
|
||||||
// try to flush the rageshake logs to indexeddb before quit.
|
|
||||||
ipcRenderer.on('before-quit', function () {
|
|
||||||
console.log('riot-desktop closing');
|
|
||||||
rageshake.flush();
|
|
||||||
});
|
|
||||||
|
|
||||||
function onUpdateDownloaded(ev: Event, releaseNotes: string, ver: string, date: Date, updateURL: string) {
|
|
||||||
dis.dispatch({
|
|
||||||
action: 'new_version',
|
|
||||||
currentVersion: remote.app.getVersion(),
|
|
||||||
newVersion: ver,
|
|
||||||
releaseNotes: releaseNotes,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function platformFriendlyName(): string {
|
function platformFriendlyName(): string {
|
||||||
// used to use window.process but the same info is available here
|
// used to use window.process but the same info is available here
|
||||||
|
|||||||
Reference in New Issue
Block a user