Update Electron main process for production readiness and app protocol handling

- Register `app://` protocol for secure file handling in production.
- Adjust icon paths to support macOS and Windows/Linux distinctions.
- Enhance security by validating file paths under the `out/` directory.
- Replace `file://` accesses with the `app://` protocol.
- Update `package.json` build scripts for platform-specific builds and refined output directory structure.
- Modify main and login window settings for improved compatibility across all platforms.
This commit is contained in:
natreex
2025-11-16 19:18:17 -05:00
parent de03dedaf0
commit a1fcca45cb
3 changed files with 93 additions and 37 deletions

View File

@@ -291,7 +291,7 @@ function ScribeContent() {
className="bg-background text-text-primary h-screen flex flex-col items-center justify-center font-['Lora']">
<div className="flex flex-col items-center space-y-6">
<div className="animate-pulse">
<img src="/logo.png" alt="ERitors Logo" style={{width: 400, height: 400}} />
<img src="/eritors-favicon-white.png" alt="ERitors Logo" style={{width: 400, height: 400}} />
</div>
<div className="flex space-x-2">
<div className="w-2 h-2 bg-primary rounded-full animate-bounce"></div>