- vps_exec 超时不再诱导轮询(去掉"请使用 vps_task 查询"的 hint),未完成一律 ok=false, 终态清空过期 hint;vps_task(get) 增加 wait_seconds 阻塞等待,一次拿到最终结果 - 新增 MCP 调用全程留痕:mcp_calls 表 + GET /api/mcp-calls + 设置页「MCP 调用记录」板块 - Linux/VPS:本机执行走 sh、探针 inspect_local_linux、终端用 $SHELL、压缩解压用 tar; 数据目录支持 DATA_DIR;非 Windows / HOST=0.0.0.0 默认开启登录密码 - 设置页去 1Shell 化文案;winres 归入 windows build-deps;内嵌应用图标(build.rs + assets/app.ico) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
15 lines
427 B
Rust
15 lines
427 B
Rust
#[cfg(windows)]
|
|
fn main() {
|
|
let mut res = winres::WindowsResource::new();
|
|
res.set_icon("assets/app.ico");
|
|
res.set("ProductName", "VPS Switch");
|
|
res.set("FileDescription", "Lightweight VPS manager and MCP server");
|
|
res.set("LegalCopyright", "Copyright (c) 2026");
|
|
if let Err(e) = res.compile() {
|
|
eprintln!("Failed to compile Windows resources: {}", e);
|
|
}
|
|
}
|
|
|
|
#[cfg(not(windows))]
|
|
fn main() {}
|