You've already forked dev-sidecar
mirror of
https://github.com/docmirror/dev-sidecar.git
synced 2025-11-26 14:10:40 +08:00
bugfix: Windows操作系统,开着DS应用重启电脑后无法上网的问题修复 (#377)
This commit is contained in:
@@ -32,6 +32,27 @@ module.exports = {
|
||||
},
|
||||
pluginOptions: {
|
||||
electronBuilder: {
|
||||
externals: [
|
||||
'@mihomo-party/sysproxy',
|
||||
'@mihomo-party/sysproxy-win32-ia32-msvc',
|
||||
'@mihomo-party/sysproxy-win32-x64-msvc',
|
||||
'@mihomo-party/sysproxy-win32-arm64-msvc',
|
||||
'@mihomo-party/sysproxy-linux-x64-gnu',
|
||||
'@mihomo-party/sysproxy-linux-arm64-gnu',
|
||||
'@mihomo-party/sysproxy-darwin-x64',
|
||||
'@mihomo-party/sysproxy-darwin-arm64',
|
||||
'@natmri/platform-napi',
|
||||
"@natmri/platform-napi-win32-x64-msvc",
|
||||
"@natmri/platform-napi-darwin-x64",
|
||||
"@natmri/platform-napi-linux-x64-gnu",
|
||||
"@natmri/platform-napi-darwin-arm64",
|
||||
"@natmri/platform-napi-linux-arm64-gnu",
|
||||
"@natmri/platform-napi-linux-arm64-musl",
|
||||
"@natmri/platform-napi-win32-arm64-msvc",
|
||||
"@natmri/platform-napi-linux-arm-gnueabihf",
|
||||
"@natmri/platform-napi-linux-x64-musl",
|
||||
"@natmri/platform-napi-win32-ia32-msvc"
|
||||
],
|
||||
nodeIntegration: true,
|
||||
// Provide an array of files that, when changed, will recompile the main process and restart Electron
|
||||
// Your main process file will be added by default
|
||||
|
||||
Reference in New Issue
Block a user