Skip to content

Commit

Permalink
fix: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
hjwforever committed Aug 12, 2024
1 parent 747a087 commit 6b4398a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 41 deletions.
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
35 changes: 1 addition & 34 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@
buffer "^6.0.3"
events "^3.3.0"

"@electron/asar@^3.2.1", "@electron/asar@^3.2.4":
"@electron/asar@^3.2.1":
version "3.2.10"
resolved "https://registry.yarnpkg.com/@electron/asar/-/asar-3.2.10.tgz#615cf346b734b23cafa4e0603551010bd0e50aa8"
integrity sha512-mvBSwIBUeiRscrCeJE1LwctAriBj65eUDm0Pc11iE5gRwzkmsdbS7FnZ1XUWjpSeQWL1L5g12Fc/SchPM9DUOw==
Expand Down Expand Up @@ -1879,13 +1879,6 @@
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==

"@playwright/test@^1.24.2":
version "1.46.0"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.46.0.tgz#ccea6d22c40ee7fa567e4192fafbdf2a907e2714"
integrity sha512-/QYft5VArOrGRP5pgkrfKksqsKA6CEFyGQ/gjNe6q0y4tZ1aaPfq4gIjudr1s3D+pXyrPRdsy4opKDrjBabE5w==
dependencies:
playwright "1.46.0"

"@popperjs/core@^2.9.2":
version "2.11.8"
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.8.tgz#6b79032e760a0899cd4204710beede972a3a185f"
Expand Down Expand Up @@ -4699,13 +4692,6 @@ electron-osx-sign@^0.6.0:
minimist "^1.2.0"
plist "^3.0.1"

electron-playwright-helpers@^1.2.0:
version "1.7.1"
resolved "https://registry.yarnpkg.com/electron-playwright-helpers/-/electron-playwright-helpers-1.7.1.tgz#1e63f8b9da91787ffabe13f0a770c35811e8a9d3"
integrity sha512-S9mo7LfpERgub2WIuYVPpib4XKFeAqBP+mxYf5Bv7E0B5GUB+LUbSj6Fpu39h18Ar635Nf9nQYTmypjuvaYJng==
dependencies:
"@electron/asar" "^3.2.4"

electron-publish@23.6.0:
version "23.6.0"
resolved "https://registry.yarnpkg.com/electron-publish/-/electron-publish-23.6.0.tgz#ac9b469e0b07752eb89357dd660e5fb10b3d1ce9"
Expand Down Expand Up @@ -5896,11 +5882,6 @@ fs.realpath@^1.0.0:
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==

fsevents@2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==

fsevents@^1.2.7:
version "1.2.13"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.13.tgz#f325cb0455592428bcf11b383370ef70e3bfcc38"
Expand Down Expand Up @@ -8823,20 +8804,6 @@ pkg-up@^3.1.0:
dependencies:
find-up "^3.0.0"

playwright-core@1.46.0:
version "1.46.0"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.46.0.tgz#2336ac453a943abf0dc95a76c117f9d3ebd390eb"
integrity sha512-9Y/d5UIwuJk8t3+lhmMSAJyNP1BUC/DqP3cQJDQQL/oWqAiuPTLgy7Q5dzglmTLwcBRdetzgNM/gni7ckfTr6A==

playwright@1.46.0, playwright@^1.24.2:
version "1.46.0"
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.46.0.tgz#c7ff490deae41fc1e814bf2cb62109dd9351164d"
integrity sha512-XYJ5WvfefWONh1uPAUAi0H2xXV5S3vrtcnXe6uAOgdGi3aSpqOSXX08IAjXW34xitfuOJsvXU5anXZxPSEQiJw==
dependencies:
playwright-core "1.46.0"
optionalDependencies:
fsevents "2.3.2"

please-upgrade-node@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz#aeddd3f994c933e4ad98b99d9a556efa0e2fe942"
Expand Down

0 comments on commit 6b4398a

Please sign in to comment.