- 17301 新增 printer.printPdf:接收波次/平台/订单结构,逐张串行静默打印 - printer 必传(请求参数或波次/平台/订单字段),纸张按 pdfPrint.papers 匹配打印机 - 内置 SumatraPDF 3.6.1 便携版,extraResources 随包分发;仅 win32,录制模式拒绝 - wsServer 广播 printer.pdfPrintProgress(仅本机客户端,不串到远端通道) - build.ps1 新增 Ensure-ElectronNativeModules,修复 better-sqlite3 ABI 与 Electron 不匹配导致打包后后端起不来 - 版本 1.0.41 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
35 lines
803 B
JSON
35 lines
803 B
JSON
{
|
|
"wsPort": 17301,
|
|
"wsPorts": [17301, 17302, 17303],
|
|
"httpPort": 17311,
|
|
"httpPorts": [17311, 17312, 17313],
|
|
"logLevel": "info",
|
|
"printerDefault": "",
|
|
"maxPrintJobs": 10,
|
|
"pdfPrint": {
|
|
"exePath": "",
|
|
"paper": "",
|
|
"papers": {},
|
|
"scale": "noscale",
|
|
"timeoutMs": 60000
|
|
},
|
|
"isService": false,
|
|
"remoteWs": {
|
|
"url": "ws://printer.wms.gztbyc.com/ws",
|
|
"reconnectInterval": 3000
|
|
},
|
|
"hikvision": {
|
|
"downloadDir": "G:/gameauto/recordings",
|
|
"maxStorage": "50GB",
|
|
"circularRecording": true
|
|
},
|
|
"update": {
|
|
"feedUrl": "https://dl.wms.gztbyc.com/printServer/latest.json",
|
|
"downloadBaseUrl": "https://dl.wms.gztbyc.com/printServer"
|
|
},
|
|
"refreshTokenExpireTime": 0,
|
|
"name": "",
|
|
"tokenExpireTime": 0,
|
|
"token": "",
|
|
"refreshToken": ""
|
|
} |