Move desktop screen capture into modules/screen-capture and align preload build paths and imports.

This commit is contained in:
CREDO23 2026-04-27 20:39:03 +02:00
parent 9cd4daa6b3
commit d4caae6de9
9 changed files with 23 additions and 16 deletions

View file

@ -134,14 +134,14 @@ async function buildElectron() {
await build({
...shared,
entryPoints: ['src/screen-region-preload.ts'],
outfile: 'dist/screen-region-preload.js',
entryPoints: ['src/modules/screen-capture/screen-region-preload.ts'],
outfile: 'dist/modules/screen-capture/screen-region-preload.js',
});
await build({
...shared,
entryPoints: ['src/window-picker-preload.ts'],
outfile: 'dist/window-picker-preload.js',
entryPoints: ['src/modules/screen-capture/window-picker-preload.ts'],
outfile: 'dist/modules/screen-capture/window-picker-preload.js',
});
console.log('Electron build complete');