Skip to content

Commit

Permalink
Merge pull request #142 from alley-rs/dev
Browse files Browse the repository at this point in the history
fix: 修复 setup.rs 中的模块导入问题
  • Loading branch information
thep0y authored Dec 13, 2024
2 parents bfefd6b + e9bef44 commit 45e4fa7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src-tauri/src/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use tokio::sync::Mutex;
use tracing::Level;
use tracing_subscriber::fmt::time::OffsetTime;

use crate::{config::Config, eval::EvalChannel};
use crate::eval::EvalChannel;

pub fn setup_logging() {
let fmt = if cfg!(debug_assertions) {
Expand Down Expand Up @@ -56,6 +56,7 @@ pub fn setup_app(app: &mut tauri::App) -> Result<(), Box<dyn std::error::Error>>

#[cfg(any(target_os = "macos", target_os = "windows"))]
{
use crate::config::Config;
let config = Config::read_from_file()?;
let window = create_main_window(app.app_handle(), config.transparent)?;
if config.transparent {
Expand Down

0 comments on commit 45e4fa7

Please sign in to comment.