Skip to content

Commit

Permalink
Cleanup and fix packaging
Browse files Browse the repository at this point in the history
Neglected to include our new worker files in the production build/package!
  • Loading branch information
lrasmus committed Mar 4, 2025
1 parent e895e2f commit 8fbccd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions app/worker.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
document.addEventListener('DOMContentLoaded', () => {
console.log('Renderer loaded, requesting file content...');
window.workerElectronBridge.listenForScanRequest((message) => {
console.log('Body of handling work');
console.log(message);
/* Placeholder for callback, if needed */
});
});
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
"templates/",
"images/",
"app.html",
"worker.html",
"worker.js",
"main.prod.js",
"main.prod.js.map",
"preload.prod.js",
Expand Down

0 comments on commit 8fbccd9

Please sign in to comment.