refactor: use THEME for all colors, add theme fields, fix forge installer
This commit is contained in:
1 parent
eeb4333b94
commit
d4ffcca61c
12 files changed
+139
-41
No files matched your search
+3
-3
@@ -142,8 +142,8 @@ pub async fn download_forge_installer(
|
||||
|
||||
/// Run the Forge installer JAR to install Forge into the instance directory.
|
||||
///
|
||||
/// Requires a Java runtime. The installer is invoked with `--installClient` pointing
|
||||
/// at the instance's `.minecraft` subdirectory.
|
||||
/// Requires a Java runtime. The installer is invoked with `--installClient` from
|
||||
/// the instance directory.
|
||||
pub async fn run_forge_installer(
|
||||
installer_path: &Path,
|
||||
instance_dir: &Path,
|
||||
@@ -157,7 +157,7 @@ pub async fn run_forge_installer(
|
||||
.arg("-jar")
|
||||
.arg(installer_path)
|
||||
.arg("--installClient")
|
||||
.arg(instance_dir.join(".minecraft"))
|
||||
.current_dir(instance_dir)
|
||||
.output()
|
||||
.await
|
||||
{
|
||||
|
||||
+1
-1
@@ -185,7 +185,7 @@ pub async fn run_neoforge_installer(
|
||||
.arg("-jar")
|
||||
.arg(installer_path)
|
||||
.arg("--installClient")
|
||||
.arg(instance_dir.join(".minecraft"))
|
||||
.current_dir(instance_dir)
|
||||
.output()
|
||||
.await
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user