aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-07-07 00:26:54 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-07-07 00:26:54 +0200
commit179920fa402b81a3ae8cc3c4b415172f71eb8d11 (patch)
tree33bd4cb4cceb58ef65ae19a6c8d0f3e4e0ea53ec /src/main.rs
parent9b4aa4e9643b0a5b4a554e455eac269a2472b590 (diff)
add gui
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 261008b..fc82739 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -7,6 +7,7 @@ pub mod searchresult;
pub mod filecounter;
pub mod extractors;
pub mod index;
+pub mod gui;
use index::Index;
use std::io::*;
@@ -47,6 +48,7 @@ fn main() {
println!("{}", result.path);
}
}
-
+ } else {
+ let _ = gui::run();
}
}