From 9df00fc869463cfd155936d14339d86028e4a85e Mon Sep 17 00:00:00 2001 From: InioX Date: Thu, 4 Jan 2024 11:18:58 +0100 Subject: [PATCH] fix(macos): enquote not imported (#43) --- src/wallpaper/macos.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wallpaper/macos.rs b/src/wallpaper/macos.rs index b075db0..e176796 100644 --- a/src/wallpaper/macos.rs +++ b/src/wallpaper/macos.rs @@ -1,5 +1,6 @@ -use std::process::Command; use color_eyre::Report; +use enquote; +use std::process::Command; #[cfg(target_os = "macos")] pub fn set(path: &str) -> Result<(), Report> { @@ -12,4 +13,4 @@ pub fn set(path: &str) -> Result<(), Report> { Command::new("osascript").args(&["-e", cmd]).output()?; Ok(()) -} \ No newline at end of file +}