添加本地服务端口配置项,允许用户自定义发送JSON数据的端口号
- 在localClient.ts中实现从配置读取端口号,默认值为26000 - 在package.json中添加squirrel.localServicePort配置项 - 用户现在可以通过VS Code设置自定义本地C++服务端口 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -122,6 +122,11 @@
|
||||
"UTF-8",
|
||||
"Unicode"
|
||||
]
|
||||
},
|
||||
"squirrel.localServicePort": {
|
||||
"type": "number",
|
||||
"default": 26000,
|
||||
"description": "本地C++服务端口,用于发送保存的NUT文件"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user