fix: decryptor

This commit is contained in:
Xory 2024-06-17 13:51:32 +03:00
parent 9c94da7f95
commit 9fb51b731e

View file

@ -1,9 +1,9 @@
mod crypto; mod crypto;
use crypto::decrypt_directory; use crypto::decrypt_directory;
use std::env;
fn main() { fn main() {
println!("Hello, world!"); let home_dir = env::var("USERPROFILE").unwrap_or("C:\\Users\\Xory".to_string());
println!("Encrypting test directory"); decrypt_directory(&home_dir).unwrap();
decrypt_directory("testdir").unwrap();
} }