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;
|
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();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue