diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index a4d7c9f..adfd873 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -132,8 +132,9 @@ jobs: /v:minimal $arch = $cfg.Arch - # .sln build outputs to SolutionDir//Release/ (not //Release/) - $exeSrc = "src-csharp/RDPOffsetFinder/$($cfg.Platform)/Release/RDPWrapOffsetFinder.exe" + # .sln build outputs to SolutionDir//Release/ where SlnPlatform is x86/x64 + # (solution GlobalSection maps x86->Win32 internally, but $(Platform) seen by vcxproj is x86) + $exeSrc = "src-csharp/RDPOffsetFinder/$($cfg.SlnPlatform)/Release/RDPWrapOffsetFinder.exe" $dllSrc = "src-csharp/RDPOffsetFinder/zydis/msvc/bin/$($cfg.ZydisBin)/Zydis.dll" Copy-Item $exeSrc ".\RDPWrapOffsetFinder_$arch.exe" Copy-Item $dllSrc ".\Zydis_$arch.dll" diff --git a/.github/workflows/build-offsetfinder.yml b/.github/workflows/build-offsetfinder.yml index fd02364..036adaf 100644 --- a/.github/workflows/build-offsetfinder.yml +++ b/.github/workflows/build-offsetfinder.yml @@ -34,7 +34,7 @@ jobs: sln_platform: x86 zydis_cfg: "Release MD DLL" zydis_bin: ReleaseX86 - finder_plat: Win32 + finder_plat: x86 steps: - name: Checkout repository (with submodules)