From 613d5744f7741a821818a25f812b73f82d6199c7 Mon Sep 17 00:00:00 2001 From: Diavolo Date: Sat, 2 Dec 2023 21:13:56 +0100 Subject: [PATCH] fix: use new domain --- .github/workflows/build.yml | 6 +++--- deps/curl | 2 +- src/client/updater/file_updater.cpp | 2 +- src/common/utils/http.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7b1f711a..057250d3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: run: msbuild /m /v:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=x64 build/boiii.sln - name: Upload ${{matrix.configuration}} symbols - if: matrix.configuration == 'Release' && github.repository_owner == 'momo5502' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') + if: matrix.configuration == 'Release' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') uses: actions/upload-artifact@v3.1.3 with: name: ${{matrix.configuration}} Symbols @@ -53,7 +53,7 @@ jobs: build/bin/x64/${{matrix.configuration}}/boiii.pdb - name: Upload ${{matrix.configuration}} binary - if: matrix.configuration == 'Release' && github.repository_owner == 'momo5502' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') + if: matrix.configuration == 'Release' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') uses: actions/upload-artifact@v3.1.3 with: name: ${{matrix.configuration}} Binary @@ -61,7 +61,7 @@ jobs: build/bin/x64/${{matrix.configuration}}/boiii.exe - name: Upload ${{matrix.configuration}} data artifacts - if: matrix.configuration == 'Release' && github.repository_owner == 'momo5502' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') + if: matrix.configuration == 'Release' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') uses: actions/upload-artifact@v3.1.3 with: name: ${{matrix.configuration}} data artifacts diff --git a/deps/curl b/deps/curl index d755a5f7..586e3c19 160000 --- a/deps/curl +++ b/deps/curl @@ -1 +1 @@ -Subproject commit d755a5f7c009dd63a61b2c745180d8ba937cbfeb +Subproject commit 586e3c19cd408379d9bca72e86393154661e34c3 diff --git a/src/client/updater/file_updater.cpp b/src/client/updater/file_updater.cpp index f68b6d2d..c87c2a1f 100644 --- a/src/client/updater/file_updater.cpp +++ b/src/client/updater/file_updater.cpp @@ -10,7 +10,7 @@ #include #include -#define UPDATE_SERVER "https://updater.xlabs.dev/" +#define UPDATE_SERVER "https://master.bo3.eu/" #define UPDATE_FILE_MAIN UPDATE_SERVER "boiii.json" #define UPDATE_FOLDER_MAIN UPDATE_SERVER "boiii/" diff --git a/src/common/utils/http.cpp b/src/common/utils/http.cpp index cc308be3..1e5a6b35 100644 --- a/src/common/utils/http.cpp +++ b/src/common/utils/http.cpp @@ -79,7 +79,7 @@ namespace utils::http curl_easy_setopt(curl, CURLOPT_XFERINFODATA, &helper); curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L); curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); - curl_easy_setopt(curl, CURLOPT_USERAGENT, "xlabs-updater/1.0"); + curl_easy_setopt(curl, CURLOPT_USERAGENT, "alterware-updater/1.0"); curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1L); curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);