fix(bootstrap): 修复当文件夹路径存在空格时启动器无法正确启动 kaa 的问题
This commit is contained in:
parent
05a69ad947
commit
63f792db2d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue