refactor(cleanup): fix exe detection

This commit is contained in:
PancakeTAS 2025-12-24 04:25:33 +01:00
parent 3caaf0dea6
commit 884ff2754b

View file

@ -58,8 +58,8 @@ Identification ls::identify() {
pos = line.find_last_of(' ');
if (pos == std::string::npos)
continue;
pos += 1; // skip space
}
pos += 1; // skip slash or space
const std::string wine_executable = line.substr(pos);
if (wine_executable.empty())