Update src/tasks/install_desktop_shortcut.rs

Co-authored-by: liushuyu <liushuyu011@gmail.com>
This commit is contained in:
lat9nq 2021-10-15 19:18:56 -04:00 committed by GitHub
parent 95ee7a1739
commit 77a26c1496
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,8 +100,7 @@ impl Task for InstallDesktopShortcutTask {
&shortcut.name,
&shortcut.description,
tool_path,
// TODO: Send by list
&format!("--launcher \"{}\"", exe_path),
&["--launcher", exe_path],
&starting_dir,
exe_path,
)?);