mirror of
https://github.com/cmderdev/cmder.git
synced 2025-11-30 02:29:48 +08:00
Merge pull request #3053 from daxgames/cmder-micro-tasks
Cmder micro tasks
This commit is contained in:
@@ -858,6 +858,11 @@ cmderOptions GetOption()
|
|||||||
cmderOptions.cmderTask = szArgList[i + 1];
|
cmderOptions.cmderTask = szArgList[i + 1];
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
else if ((_wcsicmp(L"bash", szArgList[i]) == 0 || _wcsicmp(L"powershell", szArgList[i]) == 0) || PathFileExists(windowsTerminalDir) || PathFileExists(conEmuDir))
|
||||||
|
{
|
||||||
|
cmderOptions.cmderTask = szArgList[i];
|
||||||
|
i++;
|
||||||
|
}
|
||||||
else if (_wcsicmp(L"/title", szArgList[i]) == 0 && !PathFileExists(windowsTerminalDir) && PathFileExists(conEmuDir))
|
else if (_wcsicmp(L"/title", szArgList[i]) == 0 && !PathFileExists(windowsTerminalDir) && PathFileExists(conEmuDir))
|
||||||
{
|
{
|
||||||
cmderOptions.cmderTitle = szArgList[i + 1];
|
cmderOptions.cmderTitle = szArgList[i + 1];
|
||||||
|
|||||||
Reference in New Issue
Block a user