Skip to content

Commit

Permalink
lover pause
Browse files Browse the repository at this point in the history
  • Loading branch information
Veha0001 committed Jan 19, 2025
1 parent 26d0c21 commit e329d59
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use regex::Regex;
use serde_json::{json, Value};
use std::fs::{File, OpenOptions};
use std::io::{self, BufRead, BufReader, Read, Write};
#[cfg(windows)]
use std::process::Command;

#[cfg(windows)]
Expand Down Expand Up @@ -420,7 +421,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("Please edit the config file with your own patches.");
}
#[cfg(windows)]
Command::new("Pause").status().unwrap();
Command::new("pause").status().unwrap();
return Ok(());
}
// Validate and read the config file
Expand Down Expand Up @@ -473,6 +474,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {

// Prevent the console from closing too quickly
#[cfg(windows)]
Command::new("Pause").status().unwrap();
Command::new("pause").status().unwrap();
Ok(())
}

0 comments on commit e329d59

Please sign in to comment.