Skip to content

Commit

Permalink
fix the CI + more
Browse files Browse the repository at this point in the history
  • Loading branch information
Rxann committed Jan 26, 2025
1 parent d4e6981 commit bead975
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ jobs:
run: cmake -D CMAKE_BUILD_TYPE=Release -S. -Bbuild -G Ninja

- name: Build 64bit release DLL
run: cmake --build ./build --config Release --target HorseMenu --
run: cmake --build ./build --config Release --target Terminus --

- name: Check if DLL got built
run: if (-Not (Test-Path -path "build/HorseMenu.dll")) {throw 1}
run: if (-Not (Test-Path -path "build/Terminus.dll")) {throw 1}

- name: Rename DLL to HorseMenu-dev-{GITHUB_SHA}.dll
- name: Rename DLL to Terminus-dev-{GITHUB_SHA}.dll
run: |
del HorseMenu-dev-*.dll
ren HorseMenu.dll HorseMenu-dev-${{github.sha}}.dll
del Terminus-dev-*.dll
ren Terminus.dll Terminus-dev-${{github.sha}}.dll
working-directory: build/

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: binary
path: build/HorseMenu-dev-*.dll
path: build/Terminus-dev-*.dll
14 changes: 7 additions & 7 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ jobs:
run: cmake -D CMAKE_BUILD_TYPE=RelWithDebInfo -D OPTIMIZE=YES -S. -Bbuild -G Ninja

- name: Build 64bit release DLL
run: cmake --build ./build --config RelWithDebInfo --target HorseMenu --
run: cmake --build ./build --config RelWithDebInfo --target Terminus --

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: binary
path: |
build/HorseMenu.dll
build/HorseMenu.pdb
build/Terminus.dll
build/Terminus.pdb
- name: Generate Build Info
id: var
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Echo build sha256
id: build_sha
run: |
sha256sum HorseMenu.dll > sha256.checksum
sha256sum Terminus.dll > sha256.checksum
echo "build_sha=$(cat sha256.checksum)" >> $GITHUB_OUTPUT
cat sha256.checksum
Expand All @@ -148,8 +148,8 @@ jobs:
You can download the build artifacts, generate a SHA256 checksum and compare it with the below binary.
Build artifacts ARE NOT automatically the same as release assets since release assets can be modified afterwards.
These are nightly builds of HorseMenu, they are provided for testing purposes only:
- Test if your build environment produces a broken HorseMenu.dll
These are nightly builds of Terminus, they are provided for testing purposes only:
- Test if your build environment produces a broken Terminus.dll
- Test if source code is out of date and no longer compatible with the current version of Red Dead Redemption 2
If you wish to use this menu as-is you are on your own, no warranty is provided.
Expand All @@ -159,4 +159,4 @@ jobs:
${{ needs.build_nightly.outputs.full_sha }}
```
files: |
HorseMenu.dll
Terminus.dll
2 changes: 1 addition & 1 deletion src/game/hooks/Protections/ReceiveNetMessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ namespace YimMenu::Hooks

if (player && player->m_HasGamerInfo)
{
auto color = ImGui::Colors::Blue;
auto color = ImGui::Colors::LightBlue;

if (auto p = Players::GetByMessageId(frame->m_MsgId); p && !p.IsFriend())
color = ImGui::Colors::Red;
Expand Down

0 comments on commit bead975

Please sign in to comment.