Skip to content

Commit

Permalink
fix(main.rs): fix macos build dirve command
Browse files Browse the repository at this point in the history
  • Loading branch information
terasum committed Sep 21, 2024
1 parent 1caf22f commit 1b72d7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src-tauri/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use prisma_client::settings;
use prisma_client::PrismaClient;
use prisma_client_rust::NewClientError;
use prisma_client_rust::Raw;
use tauri::api::path::{resolve_path, BaseDirectory, config_dir};
use tauri::api::path::{resolve_path, BaseDirectory};
use tauri::App;
use tauri::Manager;
use std::fs;
Expand Down
5 changes: 4 additions & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@

use futures::executor;
use std::sync::Arc;
use tauri::{AboutMetadata, Manager, Menu, MenuItem, Submenu};
use tauri::{Manager, Menu, MenuItem, Submenu};
#[cfg(target_os = "windows")]
use window_shadows::set_shadow;

#[cfg(target_os = "macos")]
use tauri::{AboutMetadata};

mod commands;
mod db;
mod dictionary;
Expand Down

0 comments on commit 1b72d7f

Please sign in to comment.