Skip to content

Commit 7b47a17

Browse files
committed
Revert hash checks
1 parent 2ce34e2 commit 7b47a17

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/executableslist.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -135,30 +135,12 @@ ExecutablesList::getPluginExecutables(MOBase::IPluginGame const* game) const
135135
Q_ASSERT(game != nullptr);
136136

137137
std::vector<Executable> v;
138-
uint64_t executableHash;
139138

140139
for (const ExecutableInfo& info : game->executables()) {
141140
if (!info.isValid()) {
142141
continue;
143142
}
144143

145-
// Hide NVSE from executable list by default if it's patched
146-
if (info.title() == "Tale of Two Wastelands" || info.title() == "New Vegas") {
147-
executableHash = getFileHash(info.binary().absoluteFilePath().toStdWString());
148-
v.push_back({info, Executable::UseApplicationIcon});
149-
}
150-
151-
if (info.title() == "NVSE") {
152-
const std::unordered_set<uint64_t> patchedExecutableHashes = {
153-
7625907240992332651, // patched gog
154-
7658157216307907036, // patched epic
155-
12047903279041789040, // patched steam
156-
};
157-
if (patchedExecutableHashes.count(executableHash) > 0) {
158-
v.push_back({info, Executable::UseApplicationIcon | Executable::Hide});
159-
} else
160-
v.push_back({info, Executable::UseApplicationIcon});
161-
}
162144
v.push_back({info, Executable::UseApplicationIcon});
163145
}
164146

0 commit comments

Comments
 (0)