()
| 41 | }; |
| 42 | |
| 43 | const launchMain = () => { |
| 44 | moduleUpdater.events.removeAllListeners(); // Remove updater v1 listeners |
| 45 | |
| 46 | if (!launched && win != null) { |
| 47 | sendState('starting'); |
| 48 | |
| 49 | launched = true; |
| 50 | events.emit('APP_SHOULD_LAUNCH'); |
| 51 | } |
| 52 | }; |
| 53 | |
| 54 | const sendState = (status, s = {}) => { |
| 55 | try { |