fix: decryptor
This commit is contained in:
parent
9c94da7f95
commit
9fb51b731e
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
|||
mod crypto;
|
||||
use crypto::decrypt_directory;
|
||||
use std::env;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
println!("Encrypting test directory");
|
||||
decrypt_directory("testdir").unwrap();
|
||||
let home_dir = env::var("USERPROFILE").unwrap_or("C:\\Users\\Xory".to_string());
|
||||
decrypt_directory(&home_dir).unwrap();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue