added mmc/prism modpack import and refactored import module

split import.rs into import/ module with mod.rs, mrpack.rs, mmc.rs.
auto-detects pack format from zip contents (modrinth.index.json or
mmc-pack.json). moved input parsing from net/modrinth.rs to the
import module since it handles routing for all formats now.
This commit is contained in:
objz committed 2026-04-20 19:24:47 +02:00
1 parent e1353bbcdd
commit 5f3f7890aa
7 files changed
+552 -234

No files matched your search

@@ -103,7 +103,7 @@ fn render_input_step(
let input_line = if state.input.is_empty() {
Line::from(vec![
Span::styled(
"URL, slug, or .mrpack path...",
"URL, slug, or pack file path...",
Style::default().fg(theme.text_dim()),
),
Span::styled(