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

@@ -341,7 +341,7 @@ namespace hex {
#if defined(OS_WINDOWS)
std::ignore = system(hex::format("start \"\" {0}", command).c_str());
#elif defined(OS_MACOS)
std::ignore = system(hex::format("open {0}", command).c_str());
std::ignore = system(hex::format("{0}", command).c_str());
#elif defined(OS_LINUX)
executeCmd({"xdg-open", command});
#elif defined(OS_WEB)