[Fix] use working directory instead of executable directory

This commit is contained in:
Alois 2026-05-18 21:25:18 +02:00
commit 6c041fb278
4 changed files with 9 additions and 9 deletions

View file

@ -6,9 +6,14 @@ mod rho;
mod util;
use std::env;
use std::path::PathBuf;
use dotenv::dotenv;
use once_cell::sync::Lazy;
pub static WORKING_DIR: Lazy<PathBuf> = Lazy::new(|| {
std::env::current_dir().unwrap_or_else(|_| PathBuf::from("."))
});
use rustls::crypto::aws_lc_rs::default_provider;
use crate::{