mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
PR Review requested changes
This commit is contained in:
parent
01da2fe638
commit
ddad83c70f
@ -566,7 +566,13 @@ void StartCmder(std::wstring path = L"", bool is_single_mode = false, std::wstr
|
||||
#endif
|
||||
PROCESS_INFORMATION pi;
|
||||
if (!CreateProcess(terminalPath, args, NULL, NULL, false, 0, NULL, NULL, &si, &pi)) {
|
||||
MessageBox(NULL, _T("Unable to create the terminal process!"), _T("Error"), MB_OK);
|
||||
if (PathFileExists(windowsTerminalDir)) {
|
||||
MessageBox(NULL, _T("Unable to create the Windows Terminal process!"), _T("Error"), MB_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox(NULL, _T("Unable to create the ConEmu process!"), _T("Error"), MB_OK);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,7 @@
|
||||
"guid": "{eb1f6578-ce9d-47a9-a8c7-9b3fdd22302d}",
|
||||
"hidden": false,
|
||||
"icon": "%CMDER_ROOT%\\icons\\cmder_orange.ico",
|
||||
"name": "Cmder - Powershell",
|
||||
"name": "Cmder - PowerShell",
|
||||
"startingDirectory": "",
|
||||
"tabTitle": "Cmder",
|
||||
"useAtlasEngine": false
|
||||
@ -89,7 +89,7 @@
|
||||
"guid": "{c5225c3e-8619-4145-8182-2800814eeb17}",
|
||||
"hidden": false,
|
||||
"icon": "%CMDER_ROOT%\\icons\\cmder_purple.ico",
|
||||
"name": "Cmder - Powershell as Admin",
|
||||
"name": "Cmder - PowerShell as Admin",
|
||||
"startingDirectory": "",
|
||||
"tabTitle": "Cmder - PowerShell as Admin",
|
||||
"useAtlasEngine": false
|
||||
|
Loading…
Reference in New Issue
Block a user