fix(component): fix ahk invocation by adding quotes around arguments

Fixes ahk launch uf user has spaces in arguments for ahk (ahk exe path or komorebi home directory)
This commit is contained in:
KamQb
2024-01-11 18:44:20 +01:00
committed by جاد
parent 7cb2965969
commit 21a5be0404

View File

@@ -1785,7 +1785,7 @@ if (!(Get-Process whkd -ErrorAction SilentlyContinue))
let script = format!(
r#"
Start-Process {ahk} {config} -WindowStyle hidden
Start-Process '{ahk}' '{config}' -WindowStyle hidden
"#,
config = config_ahk.display()
);