diff --git a/launcher/src/CmderLauncher.cpp b/launcher/src/CmderLauncher.cpp index 6e3c923..f417764 100644 --- a/launcher/src/CmderLauncher.cpp +++ b/launcher/src/CmderLauncher.cpp @@ -334,6 +334,7 @@ void UnregisterShellMenu(std::wstring opt, wchar_t* keyBaseName) HKEY cmderKey; FAIL_ON_ERROR(RegCreateKeyEx(root, keyBaseName, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &cmderKey, NULL)); FAIL_ON_ERROR(RegDeleteTree(cmderKey, NULL)); + RegDeleteKeyEx(root, keyBaseName, KEY_ALL_ACCESS, NULL); RegCloseKey(cmderKey); RegCloseKey(root); } diff --git a/vendor/init.bat b/vendor/init.bat index 0db4741..380100a 100644 --- a/vendor/init.bat +++ b/vendor/init.bat @@ -302,8 +302,8 @@ if defined CMDER_USER_CONFIG ( ) if not exist "%initialConfig%" ( - ( echo Creating user startup file: "%initialConfig%" + ( echo :: use this file to run your own startup commands echo :: use in front of the command to prevent printing the command echo. diff --git a/vendor/lib/lib_console.cmd b/vendor/lib/lib_console.cmd index 38f40b4..d94561b 100644 --- a/vendor/lib/lib_console.cmd +++ b/vendor/lib/lib_console.cmd @@ -76,5 +76,4 @@ exit /b :::------------------------------------------------------------------------------- echo ERROR: %~1 - echo CMDER Shell Initialization has Failed! exit /b diff --git a/vendor/lib/lib_git.cmd b/vendor/lib/lib_git.cmd index 7ff9562..19fb98a 100644 --- a/vendor/lib/lib_git.cmd +++ b/vendor/lib/lib_git.cmd @@ -46,7 +46,7 @@ exit /b :: check if the executable actually exists if not exist "%git_executable%" ( - %lib_console% show_error "%git_executable%" does not exist! + %lib_console% debug-output :read_version "%git_executable% does not exist." exit /b -255 )