[WIP] Daemon & CLI

This commit is contained in:
Alex-Emmet 2026-07-23 23:13:02 +02:00
commit 8b158108bb
100 changed files with 6519 additions and 1596 deletions

View file

@ -4,6 +4,7 @@ version = "0.1.0"
edition = "2024"
[dependencies]
iota-paths = { path = "../iota-paths" }
mtp = { git = "https://git.methanium.net/Methanium/mtp.git", features = [
"crypto"
] }

View file

@ -162,10 +162,7 @@ pub fn get_children(path: &str) -> Vec<String> {
}
pub fn get_directory() -> String {
std::env::current_dir()
.unwrap_or_else(|_| PathBuf::from("."))
.to_string_lossy()
.to_string()
iota_paths::data_dir().to_string_lossy().to_string()
}
// Helper to download the zip file content to a file on disk