updater: Fixed updater not working properly on macOS

This commit is contained in:
WerWolv
2025-02-15 17:50:29 +01:00
parent a42e4c5299
commit 8b2184f8e3
5 changed files with 17 additions and 21 deletions

View File

@@ -44,7 +44,7 @@ namespace hex::paths {
if (includeSystemFolders) {
if (auto executablePath = wolv::io::fs::getExecutablePath(); executablePath.has_value()) {
paths.push_back(*executablePath);
paths.push_back(executablePath->parent_path());
}
}