mirror of
https://github.com/Pandipipas/scoreko-electron-dev.git
synced 2026-06-06 05:32:06 +00:00
refactor: remove outdated phase summary documents and restructure error handling
- Deleted obsolete phase summary documents (PHASE_1_FIX_SUMMARY.md, PHASE_1_SUMMARY.md, PHASE_2_SUMMARY.md, PHASE_3_SUMMARY.md, PHASE_4_SUMMARY.md, SESSION_HANDOFF.md, TARGET_ARCHITECTURE.md) to streamline documentation. - Introduced error handling module (error-handler.ts) to centralize error logging and presentation. - Updated bootstrap and application controller to utilize the new error handling module. - Refactored runtime provisioning logic into a dedicated module (runtime-setup.ts) for better organization. - Implemented platform-specific process termination logic in process-killer.ts to enhance process management. - Enhanced navigation policy with a new module (navigation.ts) to improve URL handling and security. - Updated window service to integrate new navigation logic for internal and external URL handling.
This commit is contained in:
@@ -3,7 +3,7 @@ import { BrowserWindow, BrowserWindowConstructorOptions, shell } from "electron"
|
||||
import { AppRuntimeConfig } from "../config/runtime-config";
|
||||
import { DEFAULT_WINDOW_BACKGROUND, DEFAULT_WINDOW_SIZE, LOADING_WINDOW_SIZE } from "../constants";
|
||||
import { resolveAppIconPath } from "./icon-path";
|
||||
import { shouldAllowInternalNavigation, shouldOpenExternalNavigation } from "./navigation-policy";
|
||||
import { shouldAllowInternalNavigation, shouldOpenExternalNavigation } from "./navigation";
|
||||
|
||||
type WindowServiceDependencies = {
|
||||
appConfig: AppRuntimeConfig;
|
||||
|
||||
Reference in New Issue
Block a user