From b1fec31dff799931b2a31cd051b450df5abe0d9b Mon Sep 17 00:00:00 2001 From: Wildan M Date: Tue, 28 Oct 2025 00:20:20 +0700 Subject: [PATCH] Fix push command and category on make --- src/bin/repo.rs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/bin/repo.rs b/src/bin/repo.rs index f956db17b..c5e173b14 100644 --- a/src/bin/repo.rs +++ b/src/bin/repo.rs @@ -16,6 +16,7 @@ use ratatui::prelude::TermionBackend; use ratatui::style::{Color, Style}; use ratatui::text::{Line, Span, Text}; use ratatui::widgets::{Block, Borders, Clear, List, ListItem, ListState, Paragraph, Wrap}; +use redoxer::target; use std::borrow::Cow; use std::collections::{HashMap, VecDeque}; use std::io::{Read, Write, stderr, stdin, stdout}; @@ -269,6 +270,9 @@ fn parse_args(args: Vec) -> anyhow::Result<(CliConfig, CliCommand, Vec config.with_package_deps = true, @@ -336,7 +340,7 @@ fn parse_args(args: Vec) -> anyhow::Result<(CliConfig, CliCommand, Vec anyhow::Result<()> { let public_path = "build/id_ed25519.pub.toml"; - let archive_path = config.repo_dir.join(recipe.name.as_str()); + let archive_path = config + .repo_dir + .join(target()) + .join(format!("{}.pkgar", recipe.name)); pkgar::extract( public_path, archive_path.as_path(),