fix: prevent executing an executable file with the same name as the directory

This commit is contained in:
Chiahong Hong
2024-08-22 00:57:23 +08:00
parent 323dc2e87f
commit fd7bc8b122

View File

@@ -183,6 +183,7 @@ namespace SourceGit.Native
else
{
fullpath = new DirectoryInfo(path!).FullName;
fullpath += Path.DirectorySeparatorChar;
}
if (select)