Skip to content

Commit

Permalink
fix: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhx committed Aug 12, 2024
1 parent 747a087 commit 2b858c5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11,745 deletions.
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@
"@babel/preset-env": "^7.12.11",
"@babel/register": "^7.12.10",
"@babel/runtime": "^7.12.5",
"@playwright/test": "^1.24.2",
"@types/fs-extra": "^9.0.6",
"@types/node": "^14.14.22",
"babel-eslint": "^9.0.0",
Expand All @@ -174,7 +173,6 @@
"electron": "^26.6.10",
"electron-builder": "^24.13.3",
"electron-devtools-vendor": "^1.1.0",
"electron-playwright-helpers": "^1.2.0",
"esbuild-loader": "^2.19.0",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.1",
Expand All @@ -195,7 +193,6 @@
"mini-css-extract-plugin": "1.3.4",
"multispinner": "^0.2.1",
"node-loader": "^1.0.2",
"playwright": "^1.24.2",
"portfinder": "^1.0.28",
"prettier": "^2.7.0",
"sass": "1.32.5",
Expand Down Expand Up @@ -234,7 +231,7 @@
}
},
"volta": {
"node": "20.16.0",
"node": "18.20.4",
"yarn": "1.22.21"
}
}
6 changes: 3 additions & 3 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ function onAppReady() {
})
})
if (!registerSucceed) console.error('Failed to register protocol')
protocol.interceptFileProtocol('file', (request, callback) => {
callback(request)
})
// protocol.interceptFileProtocol('file', (request, callback) => {
// callback(request)
// })
}
// 禁止缓存
app.isReady() ? onAppReady() : app.on('ready', onAppReady)
Expand Down
Loading

0 comments on commit 2b858c5

Please sign in to comment.