补充。

This commit is contained in:
2026-02-27 11:32:35 +08:00
parent ec67bea45d
commit a34db90369
2 changed files with 6 additions and 1 deletions

View File

@@ -2,4 +2,5 @@ cmake_minimum_required(VERSION 3.16)
project(use_tdl LANGUAGES CXX)
add_executable(use_tdl main.cpp)
add_executable(use_tdl main.cpp)
target_link_libraries(use_tdl PRIVATE zoost)

View File

@@ -9,7 +9,9 @@
#include <string>
#include <thread>
#include <vector>
#include <zoost/zoost.h>
using namespace zoost;
namespace fs = std::filesystem;
struct Args {
@@ -98,6 +100,8 @@ int download_with_retry(const Args& args)
int main(int argc, char** argv)
{
Common::SetOutputU8();
Args args;
CLI::App app{"简单的下载器包装工具"};