fix: archive download bar
This commit is contained in:
parent
02a55887d6
commit
713cf4e6bf
@ -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"
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user