fix(bootstrap): 修复当文件夹路径存在空格时启动器无法正确启动 kaa 的问题

This commit is contained in:
XcantloadX 2025-07-11 22:08:03 +08:00
parent 05a69ad947
commit 63f792db2d
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
}
// 构建命令行
std::wstring cmd = pythonPath + L" " + bootstrapPath;
std::wstring cmd = L"\"" + pythonPath + L"\" \"" + bootstrapPath + L"\"";
// 如果有命令行参数,将其传递给 bootstrap
if (lpCmdLine && wcslen(lpCmdLine) > 0) {