From aabf4357e7769536728d521e180493e933b07c3c Mon Sep 17 00:00:00 2001 From: David Reidsma Date: Tue, 5 Mar 2024 15:46:43 -0500 Subject: [PATCH 1/3] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index fb9cc0d..1b7460f 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,14 @@ Beyond supporting the USB tower on modern Windows operating systems, this projec --- +## Usage + +There are builds available on the [Releases](https://github.com/hangrydave/InfraredBrickTower/releases) page for Windows and Linux. + +Just so you are aware, if you try to run the Windows build, Windows Defender SmartScreen might prevent it from running. You'll have to click the "More Info" button and hit the button to run it anyway. This happens because my program does things with hardware drivers, and developers are meant to purchase a code signing certificate to validate their program and prevent SmartScreen from flagging it. The certificates are pretty expensive, so I'm not gonna buy one, but if you don't trust my code, feel free to look through the source code and compile it yourself using the instructions below. + +--- + ## Building ### Part 1: Submodules From 69683dd79a0fed7a6d16f75ec85bd44e081f76d0 Mon Sep 17 00:00:00 2001 From: David Reidsma Date: Sun, 28 Apr 2024 18:09:46 -0400 Subject: [PATCH 2/3] fixing issue where glfw3.dll isn't included in windows build --- .github/workflows/cmake-multi-platform.yml | 2 +- .vscode/settings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index a78f264..5d2cec2 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -67,7 +67,7 @@ jobs: - name: Zip up if: startsWith(github.ref, 'refs/tags/') - run: Compress-Archive -Path "${{ github.workspace }}\x64\Release\IBTDriverWin.lib", "${{ github.workspace }}\x64\Release\IBTDriver.inf", "${{ github.workspace }}\x64\Release\IBTDriverPackage\ibtdriver.cat", "${{ github.workspace }}\x64\Release\IBTDriverPackage.cer", "${{ github.workspace }}\out\build\Windows-release\Release\InfraredBrickTower.exe" -DestinationPath "$env:WINDOWS_ZIP_PATH" + run: Compress-Archive -Path "${{ github.workspace }}\x64\Release\IBTDriverWin.lib", "${{ github.workspace }}\x64\Release\IBTDriver.inf", "${{ github.workspace }}\x64\Release\IBTDriverPackage\ibtdriver.cat", "${{ github.workspace }}\x64\Release\IBTDriverPackage.cer", "${{ github.workspace }}\out\build\Windows-release\Release\InfraredBrickTower.exe", "${{ github.workspace }}\out\build\Windows-release\Release\glfw3.dll" -DestinationPath "$env:WINDOWS_ZIP_PATH" - name: Fix path id: fix-path diff --git a/.vscode/settings.json b/.vscode/settings.json index 6870242..1a30e3e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "cmake.configureSettings": { - "CMAKE_TOOLCHAIN_FILE": "${workspaceFolder}/scripts/vcpkg/scripts/buildsystems/vcpkg.cmake" + "CMAKE_TOOLCHAIN_FILE": "${workspaceFolder}/lib/vcpkg/scripts/buildsystems/vcpkg.cmake" }, "dotnet.defaultSolution": "disable", "files.associations": { From 0d286cedbc5a1e77b34f8c0bfbf63d858b8916b2 Mon Sep 17 00:00:00 2001 From: David Reidsma Date: Mon, 29 Apr 2024 08:17:56 -0400 Subject: [PATCH 3/3] renamed github actions workflow --- .github/workflows/cmake-multi-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 5d2cec2..b217384 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -1,4 +1,4 @@ -name: vcpkg +name: build on: [push, pull_request]