mirror of
https://github.com/ModOrganizer2/mob.git
synced 2026-07-27 14:07:05 -07:00
tasks now handle --reextract themselves
This commit is contained in:
@@ -70,6 +70,13 @@ void python::do_clean(clean c)
|
||||
{
|
||||
if (is_set(c, clean::redownload))
|
||||
run_tool(downloader(prebuilt_url(), downloader::clean));
|
||||
|
||||
if (is_set(c, clean::reextract))
|
||||
{
|
||||
cx().trace(context::reextract, "deleting {}", source_path());
|
||||
op::delete_directory(cx(), source_path(), op::optional);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user