Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Jun 24, 2024
1 parent c7a5ac8 commit 8eaa810
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion desktop/src-tauri/src/cmd/audio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use std::sync::{Arc, Mutex};
use tauri::{AppHandle, Manager};

#[cfg(target_os = "macos")]
use crate::cmd::screen_capture_kit;
use crate::screen_capture_kit;

use crate::utils::random_string;

Expand Down
3 changes: 0 additions & 3 deletions desktop/src-tauri/src/cmd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ use tokio::sync::Mutex;
use vibe::{model::SegmentCallbackData, transcript::Transcript};
pub mod audio;

#[cfg(target_os = "macos")]
mod screen_capture_kit;

/// Return true if there's internet connection
/// timeout in ms
#[tauri::command]
Expand Down
3 changes: 3 additions & 0 deletions desktop/src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ mod custom_protocol;
#[cfg(windows)]
mod gpu_preference;

#[cfg(target_os = "macos")]
mod screen_capture_kit;

use tauri_plugin_window_state::StateFlags;

fn main() {
Expand Down
File renamed without changes.

0 comments on commit 8eaa810

Please sign in to comment.