1
0
mirror of synced 2024-11-28 01:20:51 +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 adc279d681
commit 6f22d70d59

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
) )