Electron app loading improvements + Windows paths fix (#429)

- Electron no longer allows Windows paths in URLs
(https://www.electronjs.org/docs/latest/breaking-changes#behavior-changed-custom-protocol-url-handling-on-windows),
fixes with help of wabac.js to replace `C:\path\to\file` with
`C//path/to/file`
- Electron app cleanup: replace deprecated protocol handlers with new
protocol.handle() method, update types
- Electron app: ensure just filename is displayed on index page,
consistent with other platforms
- Update to wabac.js 2.23.2
- Update to Electron 36.3.2
- Fixes #427
- bump to 2.3.12
This commit is contained in:
Ilya Kreymer
2025-05-30 13:15:54 -07:00
committed by GitHub
parent e4daded7d9
commit af7dc7a6c3
12 changed files with 292 additions and 335 deletions
+8 -6
View File
@@ -1,7 +1,7 @@
{
"name": "replaywebpage",
"productName": "ReplayWeb.page",
"version": "2.3.11",
"version": "2.3.12",
"description": "Serverless Web Archive Replay",
"repository": "https://github.com/webrecorder/replayweb.page",
"homepage": "https://replayweb.page/",
@@ -22,10 +22,10 @@
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.4",
"@shoelace-style/shoelace": "~2.15.1",
"@webrecorder/wabac": "^2.23.1",
"@webrecorder/wabac": "^2.23.2",
"bulma": "^0.9.3",
"electron-log": "^4.4.1",
"electron-updater": "^6.3.9",
"electron-updater": "^6.6.2",
"fetch-ndjson": "^1.1.6",
"flexsearch": "^0.7.31",
"keyword-mark-element": "^0.2.0",
@@ -33,9 +33,8 @@
"marked": "^4.0.10",
"micromark": "^4.0.1",
"micromark-extension-gfm-strikethrough": "^2.1.0",
"mime-types": "^2.1.32",
"mime-types": "^3.0.1",
"minimist": "^1.2.5",
"node-fetch": "^3.3.0",
"pretty-bytes": "^5.6.0",
"process": "^0.11.10",
"register-service-worker": "^1.7.2",
@@ -47,11 +46,14 @@
"@playwright/test": "^1.52.0",
"@types/flexsearch": "^0.7.3",
"@types/lodash": "^4.17.5",
"@types/mime-types": "^2.1.4",
"@types/minimist": "^1.2.5",
"@types/node": "^22.15.18",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"copy-webpack-plugin": "^9.0.1",
"css-loader": "^6.2.0",
"electron": "^36.2.1",
"electron": "^36.3.2",
"electron-builder": "^26.0.12",
"electron-notarize": "^1.2.2",
"eslint": "^8.56.0",