refactor(electron): major ui refactor into modules

This commit is contained in:
2025-08-10 11:41:47 -04:00
parent a1752aaf37
commit 875be6a43c
17 changed files with 2234 additions and 1710 deletions

View File

@@ -0,0 +1,30 @@
// === REGENERATED CODE START ===
// This file was regenerated during refactoring to use modular components
// Original functionality preserved in modular structure
// Import modular components
const { setupAppEventHandlers, setupThemeHandlers } = require('./main/app-lifecycle');
const { setupFileDialogHandlers } = require('./main/file-dialogs');
const { setupBundleIPCHandlers } = require('./main/ipc-handlers');
// Initialize all modules in the correct order
function initializeMainProcess() {
// Setup app lifecycle and window management
setupAppEventHandlers();
// Setup theme handling
setupThemeHandlers();
// Setup file dialog handlers
setupFileDialogHandlers();
// Setup bundle operation IPC handlers
setupBundleIPCHandlers();
console.log('[MAIN_PROCESS] All modules initialized successfully');
}
// Start the application
initializeMainProcess();
// === REGENERATED CODE END ===