Add notarization logic and update dependencies
- Introduce `notarize.cjs` script for macOS app notarization using `@electron/notarize`. - Add `dotenv` dependency for environment variable management. - Update `@electron/notarize` and `dotenv` to latest versions in `package.json`. - Extend `electron-builder` configuration to include notarization steps (`buildDependenciesFromSource`, `nodeGypRebuild`, `npmRebuild`). - Enhance `useEffect` hooks in `page.tsx` for improved session and book synchronization logic. - Add debug logging for book synchronization states.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
"license": "ISC",
|
||||
"description": "",
|
||||
"devDependencies": {
|
||||
"@electron/notarize": "^3.1.1",
|
||||
"@types/js-cookie": "^3.0.6",
|
||||
"@types/jsonwebtoken": "^9.0.10",
|
||||
"@types/node": "^24.10.1",
|
||||
@@ -23,6 +24,7 @@
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^5.1.1",
|
||||
"concurrently": "^9.2.1",
|
||||
"dotenv": "^17.2.3",
|
||||
"electron": "^39.2.1",
|
||||
"electron-builder": "^26.0.12",
|
||||
"electron-rebuild": "^3.2.9",
|
||||
@@ -71,6 +73,9 @@
|
||||
"build": {
|
||||
"appId": "com.eritors.scribe.desktop",
|
||||
"productName": "ERitors Scribe",
|
||||
"buildDependenciesFromSource": false,
|
||||
"nodeGypRebuild": false,
|
||||
"npmRebuild": false,
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"out/**/*",
|
||||
@@ -95,6 +100,7 @@
|
||||
"entitlements": "build/entitlements.mac.plist",
|
||||
"entitlementsInherit": "build/entitlements.mac.plist"
|
||||
},
|
||||
"afterSign": "scripts/notarize.cjs",
|
||||
"win": {
|
||||
"icon": "build/icons/win/icon.ico",
|
||||
"target": [
|
||||
|
||||
Reference in New Issue
Block a user