refactor(app): share application components and request services

This commit is contained in:
Sameh Khamis committed 2026-09-13 22:41:11 -07:00
1 parent a0a0128a59
commit a67bc60a29
84 files changed
+2798 -1731

No files matched your search

+3 -2
View File
@@ -4,7 +4,7 @@ import { readFileSync } from 'node:fs';
import vm from 'node:vm';
const source = readFileSync(
new URL('./startupChrome.js', import.meta.url),
new URL('../app/startupChrome.js', import.meta.url),
'utf8',
)
.replace(/^import .*;\n/gm, '')
@@ -37,7 +37,8 @@ function fixture() {
};
vm.createContext(context);
vm.runInContext(source, context);
const stop = context.startStandaloneChrome({
const stop = context.startApplicationChrome({
initializeSettings: context.initKeySetup,
loadingScreen: {
classList: { add: (value) => events.push(value) },
addEventListener: (type, listener) => listeners.set(type, listener),