Corrected comment

This commit is contained in:
Connor Yoh 2025-07-15 16:31:19 +01:00
parent 9bf0ebc7c6
commit a3555d882a

View File

@ -8,7 +8,7 @@ static OPENED_FILE: Mutex<Option<String>> = Mutex::new(None);
pub fn set_opened_file(file_path: String) { pub fn set_opened_file(file_path: String) {
let mut opened_file = OPENED_FILE.lock().unwrap(); let mut opened_file = OPENED_FILE.lock().unwrap();
*opened_file = Some(file_path.clone()); *opened_file = Some(file_path.clone());
add_log(format!("📂 File opened via macOS event: {}", file_path)); add_log(format!("📂 File opened via file open event: {}", file_path));
} }
// Command to get opened file path (if app was launched with a file) // Command to get opened file path (if app was launched with a file)