Skip to content

Commit

Permalink
fix(component): fix ahk invocation by adding quotes around arguments
Browse files Browse the repository at this point in the history
Fixes ahk launch uf user has spaces in arguments for ahk (ahk exe path or komorebi home directory)
  • Loading branch information
KamQb authored and LGUG2Z committed Jan 15, 2024
1 parent 7cb2965 commit 21a5be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion komorebic/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);
Expand Down

0 comments on commit 21a5be0

Please sign in to comment.