Add Electron main process with token management and navigation setup

- Implement main and login windows for Electron.
- Integrate `electron-store` for secure token storage and management.
- Setup IPC handlers for authentication.
- Update dependencies to support Electron, including `vite`, `react-router-dom`, and plugins.
This commit is contained in:
natreex
2025-11-16 13:55:08 -05:00
parent 1e6ebba56d
commit de03dedaf0
8 changed files with 1066 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
{
"name": "eritorsscribe",
"productName": "ERitors Scribe",
"version": "1.0.0",
"type": "module",
"main": "dist/electron/main.js",
@@ -27,11 +28,14 @@
"@types/node": "^24.10.1",
"@types/react": "^19.2.5",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.1",
"concurrently": "^9.2.1",
"electron": "^39.2.1",
"electron-builder": "^26.0.12",
"tsx": "^4.20.6",
"typescript": "^5.9.3",
"vite": "^7.2.2",
"vite-plugin-electron-renderer": "^0.14.6",
"wait-on": "^9.0.3"
},
"dependencies": {
@@ -62,6 +66,7 @@
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-i18next": "^16.3.3",
"react-router-dom": "^7.9.6",
"react-slick": "^0.31.0",
"tailwindcss": "^4.1.17"
},