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] {
hex::executeCommand(
hex::format("{} {}",
hex::format("\"{}\" \"{}\"",
wolv::util::toUTF8String(executablePath),
updateTypeString
)