mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 23:54:48 +01:00
more options
This commit is contained in:
@@ -67,6 +67,8 @@ pub fn run_jar(path: String, execute_in: String, java_path: String) {
|
||||
format!("\"{}\" -jar \"{}\"", java_path, path)
|
||||
};
|
||||
|
||||
println!("Launching .jar with command: {}", &command);
|
||||
|
||||
// Open the program from the specified path.
|
||||
match open::with(
|
||||
format!("/k cd /D \"{}\" & {}", &execute_in, &command),
|
||||
|
||||
Reference in New Issue
Block a user