client: stop using window-based globals

This commit is contained in:
jean-emmanuel 2025-09-17 10:14:03 +02:00
parent b2b3bcb1b6
commit c71b9fb48e
67 changed files with 114 additions and 29 deletions

View file

@ -4,6 +4,7 @@ import {ipcRenderer} from 'electron'
import terminal from './terminal.mjs'
import settings from './settings.mjs'
import './toolbar.mjs'
import {DOM} from '../client/globals.mjs'
DOM.get(document, '#osc-greeting-header')[0].appendChild(html`${window.PACKAGE.productName} <span class="version">v${window.PACKAGE.version}</span>`)