feat: 完善 SDD 模块配置,添加 --headless 参数
This commit is contained in:
3
api/.env
Normal file
3
api/.env
Normal file
@@ -0,0 +1,3 @@
|
||||
MINIMAX_API_KEY=sk-api-Ip6OsHSvDJlnbl7L9sRsK277vx1W6VfM8xXfbjjEcdsnT_91kZmciWDiNHzMkDMTEsxirTZdA-shZ-oYS0Qo70m3raWeO7_1Zr8rmM9D5QFWKgkLya60HrA
|
||||
MINIMAX_GROUP_ID=1982508094420165122
|
||||
OPENAI_API_KEY=
|
||||
@@ -44,7 +44,7 @@ class SDDService {
|
||||
}
|
||||
|
||||
private getExeArgs(): string[] {
|
||||
return ['--port', this.port.toString()];
|
||||
return ['--port', this.port.toString(), '--headless'];
|
||||
}
|
||||
|
||||
private async checkHealth(): Promise<boolean> {
|
||||
|
||||
Binary file not shown.
21
services/xcsdd/LICENSE.electron.txt
Normal file
21
services/xcsdd/LICENSE.electron.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
Copyright (c) Electron contributors
|
||||
Copyright (c) 2013-2020 GitHub Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
164489
services/xcsdd/LICENSES.chromium.html
Normal file
164489
services/xcsdd/LICENSES.chromium.html
Normal file
File diff suppressed because it is too large
Load Diff
BIN
services/xcsdd/XCSDD.exe
Normal file
BIN
services/xcsdd/XCSDD.exe
Normal file
Binary file not shown.
BIN
services/xcsdd/chrome_100_percent.pak
Normal file
BIN
services/xcsdd/chrome_100_percent.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/chrome_200_percent.pak
Normal file
BIN
services/xcsdd/chrome_200_percent.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/d3dcompiler_47.dll
Normal file
BIN
services/xcsdd/d3dcompiler_47.dll
Normal file
Binary file not shown.
BIN
services/xcsdd/ffmpeg.dll
Normal file
BIN
services/xcsdd/ffmpeg.dll
Normal file
Binary file not shown.
BIN
services/xcsdd/icudtl.dat
Normal file
BIN
services/xcsdd/icudtl.dat
Normal file
Binary file not shown.
BIN
services/xcsdd/libEGL.dll
Normal file
BIN
services/xcsdd/libEGL.dll
Normal file
Binary file not shown.
BIN
services/xcsdd/libGLESv2.dll
Normal file
BIN
services/xcsdd/libGLESv2.dll
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/af.pak
Normal file
BIN
services/xcsdd/locales/af.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/am.pak
Normal file
BIN
services/xcsdd/locales/am.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/ar.pak
Normal file
BIN
services/xcsdd/locales/ar.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/bg.pak
Normal file
BIN
services/xcsdd/locales/bg.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/bn.pak
Normal file
BIN
services/xcsdd/locales/bn.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/ca.pak
Normal file
BIN
services/xcsdd/locales/ca.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/cs.pak
Normal file
BIN
services/xcsdd/locales/cs.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/da.pak
Normal file
BIN
services/xcsdd/locales/da.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/de.pak
Normal file
BIN
services/xcsdd/locales/de.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/el.pak
Normal file
BIN
services/xcsdd/locales/el.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/en-GB.pak
Normal file
BIN
services/xcsdd/locales/en-GB.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/en-US.pak
Normal file
BIN
services/xcsdd/locales/en-US.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/es-419.pak
Normal file
BIN
services/xcsdd/locales/es-419.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/es.pak
Normal file
BIN
services/xcsdd/locales/es.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/et.pak
Normal file
BIN
services/xcsdd/locales/et.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/fa.pak
Normal file
BIN
services/xcsdd/locales/fa.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/fi.pak
Normal file
BIN
services/xcsdd/locales/fi.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/fil.pak
Normal file
BIN
services/xcsdd/locales/fil.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/fr.pak
Normal file
BIN
services/xcsdd/locales/fr.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/gu.pak
Normal file
BIN
services/xcsdd/locales/gu.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/he.pak
Normal file
BIN
services/xcsdd/locales/he.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/hi.pak
Normal file
BIN
services/xcsdd/locales/hi.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/hr.pak
Normal file
BIN
services/xcsdd/locales/hr.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/hu.pak
Normal file
BIN
services/xcsdd/locales/hu.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/id.pak
Normal file
BIN
services/xcsdd/locales/id.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/it.pak
Normal file
BIN
services/xcsdd/locales/it.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/ja.pak
Normal file
BIN
services/xcsdd/locales/ja.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/kn.pak
Normal file
BIN
services/xcsdd/locales/kn.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/ko.pak
Normal file
BIN
services/xcsdd/locales/ko.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/lt.pak
Normal file
BIN
services/xcsdd/locales/lt.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/lv.pak
Normal file
BIN
services/xcsdd/locales/lv.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/ml.pak
Normal file
BIN
services/xcsdd/locales/ml.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/mr.pak
Normal file
BIN
services/xcsdd/locales/mr.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/ms.pak
Normal file
BIN
services/xcsdd/locales/ms.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/nb.pak
Normal file
BIN
services/xcsdd/locales/nb.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/nl.pak
Normal file
BIN
services/xcsdd/locales/nl.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/pl.pak
Normal file
BIN
services/xcsdd/locales/pl.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/pt-BR.pak
Normal file
BIN
services/xcsdd/locales/pt-BR.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/pt-PT.pak
Normal file
BIN
services/xcsdd/locales/pt-PT.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/ro.pak
Normal file
BIN
services/xcsdd/locales/ro.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/ru.pak
Normal file
BIN
services/xcsdd/locales/ru.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/sk.pak
Normal file
BIN
services/xcsdd/locales/sk.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/sl.pak
Normal file
BIN
services/xcsdd/locales/sl.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/sr.pak
Normal file
BIN
services/xcsdd/locales/sr.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/sv.pak
Normal file
BIN
services/xcsdd/locales/sv.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/sw.pak
Normal file
BIN
services/xcsdd/locales/sw.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/ta.pak
Normal file
BIN
services/xcsdd/locales/ta.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/te.pak
Normal file
BIN
services/xcsdd/locales/te.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/th.pak
Normal file
BIN
services/xcsdd/locales/th.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/tr.pak
Normal file
BIN
services/xcsdd/locales/tr.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/uk.pak
Normal file
BIN
services/xcsdd/locales/uk.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/ur.pak
Normal file
BIN
services/xcsdd/locales/ur.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/vi.pak
Normal file
BIN
services/xcsdd/locales/vi.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/zh-CN.pak
Normal file
BIN
services/xcsdd/locales/zh-CN.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/locales/zh-TW.pak
Normal file
BIN
services/xcsdd/locales/zh-TW.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/resources.pak
Normal file
BIN
services/xcsdd/resources.pak
Normal file
Binary file not shown.
BIN
services/xcsdd/resources/app.asar
Normal file
BIN
services/xcsdd/resources/app.asar
Normal file
Binary file not shown.
BIN
services/xcsdd/resources/elevate.exe
Normal file
BIN
services/xcsdd/resources/elevate.exe
Normal file
Binary file not shown.
BIN
services/xcsdd/snapshot_blob.bin
Normal file
BIN
services/xcsdd/snapshot_blob.bin
Normal file
Binary file not shown.
BIN
services/xcsdd/v8_context_snapshot.bin
Normal file
BIN
services/xcsdd/v8_context_snapshot.bin
Normal file
Binary file not shown.
BIN
services/xcsdd/vk_swiftshader.dll
Normal file
BIN
services/xcsdd/vk_swiftshader.dll
Normal file
Binary file not shown.
1
services/xcsdd/vk_swiftshader_icd.json
Normal file
1
services/xcsdd/vk_swiftshader_icd.json
Normal file
@@ -0,0 +1 @@
|
||||
{"file_format_version": "1.0.0", "ICD": {"library_path": ".\\vk_swiftshader.dll", "api_version": "1.0.5"}}
|
||||
BIN
services/xcsdd/vulkan-1.dll
Normal file
BIN
services/xcsdd/vulkan-1.dll
Normal file
Binary file not shown.
@@ -7,6 +7,6 @@ export const SDD_MODULE = defineModule({
|
||||
order: 16,
|
||||
version: '1.0.0',
|
||||
backend: {
|
||||
enabled: true,
|
||||
enabled: false,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user