From 532273c7d85d2baa3fbc2d3f345436e9c7d29251 Mon Sep 17 00:00:00 2001 From: TheTank20 Date: Thu, 21 Dec 2023 01:27:02 +0000 Subject: [PATCH] Update windows.yml --- .github/workflows/windows.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 5bbaa95..2149669 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -33,10 +33,14 @@ jobs: tree /f D:\a\ - name: Build xpmgr (x86) - run: C:\TDM-GCC-64\bin\g++.exe -m32 -o build\x86\xpmgr_x86 xpmgr.cpp -lole32 -luuid -loleaut32 + run: | + windres icon.rc icon.res + C:\TDM-GCC-64\bin\g++.exe -m32 -o build\x86\xpmgr_x86 xpmgr.cpp icon.res -lole32 -luuid -loleaut32 - name: Build xpmgr (x64) - run: C:\TDM-GCC-64\bin\g++.exe -o build\x64\xpmgr_x64 xpmgr.cpp -lole32 -luuid -loleaut32 + run: | + windres icon.rc icon.res + C:\TDM-GCC-64\bin\g++.exe -o build\x64\xpmgr_x64 xpmgr.cpp icon.res -lole32 -luuid -loleaut32 - name: Upload build artifact (x86) uses: actions/upload-artifact@v3.1.2