Files
AeroPkg/src/commands/mod.rs

19 lines
379 B
Rust
Raw Normal View History

2025-06-02 18:00:32 +03:00
pub mod install;
pub mod delete;
2025-08-08 00:00:14 +03:00
pub mod pkglink;
pub mod disable;
pub mod enable;
2025-06-02 18:00:32 +03:00
use std::path::PathBuf;
pub fn get_var_path() -> PathBuf {
let exe_path = std::env::current_exe().expect("Failed to get executable path");
exe_path
.parent()
.unwrap()
.join("../var")
.canonicalize()
.expect("Failed to canonicalize var path")
}