We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6acae7 commit 535ab6fCopy full SHA for 535ab6f
src/ui/gui.rs
@@ -19,7 +19,12 @@ use crate::{
19
},
20
};
21
22
-use super::Mode;
+#[derive(PartialEq, Clone, Copy, Debug)]
23
+enum Mode {
24
+ Client,
25
+ Server,
26
+ MMC,
27
+}
28
29
pub async fn run() -> Result<(), InstallerError> {
30
info!("Starting GUI installer...");
src/ui/mod.rs
@@ -5,13 +5,6 @@ pub mod cli;
5
#[cfg(feature = "gui")]
6
pub mod gui;
7
8
-#[derive(PartialEq, Clone, Copy, Debug)]
9
-pub enum Mode {
10
- Client,
11
- Server,
12
- MMC,
13
-}
14
-
15
fn home_dir() -> Option<PathBuf> {
16
#[allow(deprecated)]
17
std::env::home_dir()
0 commit comments