From 34dd2b9815dfe5bdfe424d54ef2ce6a47e2c7c4b Mon Sep 17 00:00:00 2001 From: MistEO Date: Sat, 6 May 2023 18:33:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=B9=81=E4=B8=AD?= =?UTF-8?q?=E6=9C=8D=E8=B5=84=E6=BA=90=E6=9B=B4=E6=96=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/ResourceUpdater/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ResourceUpdater/main.cpp b/tools/ResourceUpdater/main.cpp index d4ae5b5b54..be82970f90 100644 --- a/tools/ResourceUpdater/main.cpp +++ b/tools/ResourceUpdater/main.cpp @@ -166,8 +166,8 @@ int main([[maybe_unused]] int argc, char** argv) std::string gamedata_tw_exec = cur_path.string() + "/gamedata-tw.exe"; if (!std::filesystem::exists(gamedata_tw_exec)) { std::string download_zhtw = "curl --ssl-no-revoke " - "https://github.com/MaaAssistantArknights/MaaRelease/raw/main/" - "MaaAssistantArknights/api/binaries/gamedata-tw.exe > " + + "https://raw.githubusercontent.com/MaaAssistantArknights/" + "MaaRelease/main/MaaAssistantArknights/api/binaries/gamedata-tw.exe > " + gamedata_tw_exec; int dl = system(download_zhtw.c_str()); if (dl != 0) {