fix: use new domain

This commit is contained in:
Diavolo 2023-12-02 21:13:56 +01:00
parent 8041529930
commit 613d5744f7
4 changed files with 6 additions and 6 deletions

View File

@ -45,7 +45,7 @@ jobs:
run: msbuild /m /v:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=x64 build/boiii.sln run: msbuild /m /v:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=x64 build/boiii.sln
- name: Upload ${{matrix.configuration}} symbols - 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 uses: actions/upload-artifact@v3.1.3
with: with:
name: ${{matrix.configuration}} Symbols name: ${{matrix.configuration}} Symbols
@ -53,7 +53,7 @@ jobs:
build/bin/x64/${{matrix.configuration}}/boiii.pdb build/bin/x64/${{matrix.configuration}}/boiii.pdb
- name: Upload ${{matrix.configuration}} binary - 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 uses: actions/upload-artifact@v3.1.3
with: with:
name: ${{matrix.configuration}} Binary name: ${{matrix.configuration}} Binary
@ -61,7 +61,7 @@ jobs:
build/bin/x64/${{matrix.configuration}}/boiii.exe build/bin/x64/${{matrix.configuration}}/boiii.exe
- name: Upload ${{matrix.configuration}} data artifacts - 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 uses: actions/upload-artifact@v3.1.3
with: with:
name: ${{matrix.configuration}} data artifacts name: ${{matrix.configuration}} data artifacts

2
deps/curl vendored

@ -1 +1 @@
Subproject commit d755a5f7c009dd63a61b2c745180d8ba937cbfeb Subproject commit 586e3c19cd408379d9bca72e86393154661e34c3

View File

@ -10,7 +10,7 @@
#include <utils/io.hpp> #include <utils/io.hpp>
#include <utils/compression.hpp> #include <utils/compression.hpp>
#define UPDATE_SERVER "https://updater.xlabs.dev/" #define UPDATE_SERVER "https://master.bo3.eu/"
#define UPDATE_FILE_MAIN UPDATE_SERVER "boiii.json" #define UPDATE_FILE_MAIN UPDATE_SERVER "boiii.json"
#define UPDATE_FOLDER_MAIN UPDATE_SERVER "boiii/" #define UPDATE_FOLDER_MAIN UPDATE_SERVER "boiii/"

View File

@ -79,7 +79,7 @@ namespace utils::http
curl_easy_setopt(curl, CURLOPT_XFERINFODATA, &helper); curl_easy_setopt(curl, CURLOPT_XFERINFODATA, &helper);
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L); curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L);
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); 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_FAILONERROR, 1L);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);