fix: log level colors, Forge/NeoForge run from .minecraft directory
This commit is contained in:
1 parent
d4ffcca61c
commit
1d2ba8a317
3 files changed
+3
-4
No files matched your search
+1
-1
@@ -157,7 +157,7 @@ pub async fn run_forge_installer(
|
|||||||
.arg("-jar")
|
.arg("-jar")
|
||||||
.arg(installer_path)
|
.arg(installer_path)
|
||||||
.arg("--installClient")
|
.arg("--installClient")
|
||||||
.current_dir(instance_dir)
|
.current_dir(instance_dir.join(".minecraft"))
|
||||||
.output()
|
.output()
|
||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -185,7 +185,7 @@ pub async fn run_neoforge_installer(
|
|||||||
.arg("-jar")
|
.arg("-jar")
|
||||||
.arg(installer_path)
|
.arg(installer_path)
|
||||||
.arg("--installClient")
|
.arg("--installClient")
|
||||||
.current_dir(instance_dir)
|
.current_dir(instance_dir.join(".minecraft"))
|
||||||
.output()
|
.output()
|
||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-2
@@ -391,8 +391,7 @@ impl App {
|
|||||||
|
|
||||||
let widget = TuiLoggerWidget::default()
|
let widget = TuiLoggerWidget::default()
|
||||||
.block(block)
|
.block(block)
|
||||||
.state(log_state)
|
.state(log_state);
|
||||||
.style(Style::default().fg(THEME.colors.foreground));
|
|
||||||
|
|
||||||
frame.render_widget(widget, overlay);
|
frame.render_widget(widget, overlay);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user