| LCOV - code coverage report | ||||||||||||||||||
|
||||||||||||||||||
Line data Source code 1 : import { Logger } from './logger/logger.js'; 2 : 3 : /// Relaunch the app, the desktop app installs a downloaded update on the way 4 0 : export async function relaunch(logger: Logger): Promise<void> { 5 0 : logger.info("Relaunching", {}); 6 0 : if (globalThis.dashqlElectron !== undefined) { 7 0 : await globalThis.dashqlElectron.updates.install(); 8 0 : return; 9 0 : } 10 0 : window.location.reload(); 11 0 : } |
| Generated by: LCOV version 2.0-1 |