mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
open cmder in the current working dir as every other windows app works (#1725)
open cmder in the current working dir as every other Windows app works
This commit is contained in:
parent
afb8f52516
commit
19bad7dfa9
@ -208,13 +208,6 @@ void StartCmder(std::wstring path = L"", bool is_single_mode = false, std::wstr
|
||||
PathCombine(conEmuPath, exeDir, L"vendor\\conemu-maximus5\\ConEmu.exe");
|
||||
}
|
||||
|
||||
if (streqi(cmderStart.c_str(), L""))
|
||||
{
|
||||
TCHAR buff[MAX_PATH];
|
||||
const DWORD ret = GetEnvironmentVariable(L"USERPROFILE", buff, MAX_PATH);
|
||||
cmderStart = buff;
|
||||
}
|
||||
|
||||
if (is_single_mode)
|
||||
{
|
||||
if (!streqi(cmderTask.c_str(), L"")) {
|
||||
|
Loading…
Reference in New Issue
Block a user