Remove potential osascript hijacking
This commit is contained in:
parent
cb55204e22
commit
5a356a4710
2 changed files with 3 additions and 7 deletions
|
@ -29,7 +29,7 @@ pub async fn install_cli(cx: &AsyncAppContext) -> Result<()> {
|
|||
|
||||
// The symlink could not be created, so use osascript with admin privileges
|
||||
// to create it.
|
||||
let status = smol::process::Command::new("osascript")
|
||||
let status = smol::process::Command::new("/usr/bin/osascript")
|
||||
.args([
|
||||
"-e",
|
||||
&format!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue