import { ipcRenderer } from 'electron' ; ElectronRendererContext export class AppInstance { public static notifyStarted ( name ) { if ( ! ipcRenderer ) { return ; } ipcRenderer . send ( 'app-instance-started:' + name ) ; } }