mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
fix: Make sure updater properly exists after launching update process
This commit is contained in:
@@ -151,7 +151,10 @@ auto updateCommand(std::string command) {
|
||||
const auto formattedCommand = fmt::format(fmt::runtime(command), updatePath.string());
|
||||
|
||||
hex::log::info("Starting update process with command: '{}'", formattedCommand);
|
||||
return hex::executeCommand(formattedCommand) == 0;
|
||||
|
||||
hex::executeCommandDetach(formattedCommand);
|
||||
|
||||
return 0;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user