fix: archive download bar

This commit is contained in:
ngn 2024-08-09 03:33:48 +03:00
parent 02a55887d6
commit 713cf4e6bf
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-08-08 16:37+0300\n"
"POT-Creation-Date: 2024-08-09 03:00+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

View File

@ -17,7 +17,7 @@ bool cmd_install_callback(lm_ctx_t *ctx, lm_pkg_t *pkg, char *file, size_t curre
}
bool cmd_download_callback(lm_ctx_t *ctx, lm_pkg_t *pkg, bool is_archive, size_t current, size_t total, void *data){
if(!is_archive)
if(is_archive)
bar(current, total);
return true;
}