LCOV - code coverage report
Current view: top level - dashql-app/src/platform - process.ts Coverage Total Hit
Test: DashQL 6e74948 Lines: 0.0 % 8 0
Test Date: 2026-11-06 17:46:50

            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