1
0
mirror of synced 2024-11-12 02:00:52 +01:00

fix: Updater executable not being launched correctly when path had spaces in it

Fixes #1780
This commit is contained in:
WerWolv 2024-06-30 07:59:25 +02:00
parent ad235fad25
commit c922d9ceec

View File

@ -862,7 +862,7 @@ namespace hex {
EventImHexClosing::subscribe([executablePath, updateTypeString] { EventImHexClosing::subscribe([executablePath, updateTypeString] {
hex::executeCommand( hex::executeCommand(
hex::format("{} {}", hex::format("\"{}\" \"{}\"",
wolv::util::toUTF8String(executablePath), wolv::util::toUTF8String(executablePath),
updateTypeString updateTypeString
) )