From 35410dca2b227d2aa4e41054c60f382e433886ce Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:27:48 +0000 Subject: [PATCH 1/6] Initial plan From 7dd826e3d96fec7a06105fb4a441163ca71ee525 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:30:04 +0000 Subject: [PATCH 2/6] Fix release.yml to flatten artifact structure for binary inclusion Co-authored-by: supervoidcoder <88671013+supervoidcoder@users.noreply.github.com> --- .github/workflows/release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index abe329d..4cea288 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -254,6 +254,13 @@ jobs: - name: List artifacts run: ls -R artifacts + - name: Flatten artifact directory structure + run: | + find artifacts -name "*.exe" -exec mv {} artifacts/ \; + find artifacts -mindepth 1 -type d -delete + echo "Flattened artifacts directory:" + ls -la artifacts/ + - name: Checkout repository for tagging uses: actions/checkout@v4 with: @@ -298,7 +305,7 @@ jobs: tag_name: ${{ needs.prepare.outputs.version }} name: win-witr ${{ needs.prepare.outputs.version }} body: ${{ needs.prepare.outputs.notes }} - files: artifacts/**/*.exe + files: artifacts/*.exe draft: false prerelease: true env: From 1e4c32c9a89617297342179db7fdd330248b011e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:31:03 +0000 Subject: [PATCH 3/6] Improve robustness of artifact flattening step Co-authored-by: supervoidcoder <88671013+supervoidcoder@users.noreply.github.com> --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4cea288..dc8e54f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -256,8 +256,10 @@ jobs: - name: Flatten artifact directory structure run: | - find artifacts -name "*.exe" -exec mv {} artifacts/ \; - find artifacts -mindepth 1 -type d -delete + set -e + echo "Flattening artifact directory structure..." + find artifacts -name "*.exe" -type f -exec mv -n {} artifacts/ \; + find artifacts -mindepth 1 -type d -delete || true echo "Flattened artifacts directory:" ls -la artifacts/ From b4e5ba1b21785eadf660bda67f4426da4e551747 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:31:57 +0000 Subject: [PATCH 4/6] Add logging for directory deletion warnings Co-authored-by: supervoidcoder <88671013+supervoidcoder@users.noreply.github.com> --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc8e54f..27e2ab2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -259,7 +259,8 @@ jobs: set -e echo "Flattening artifact directory structure..." find artifacts -name "*.exe" -type f -exec mv -n {} artifacts/ \; - find artifacts -mindepth 1 -type d -delete || true + echo "Removing empty subdirectories..." + find artifacts -mindepth 1 -type d -delete || echo "Warning: Some directories could not be deleted" echo "Flattened artifacts directory:" ls -la artifacts/ From f3850d7d494603cfe33c0dc367a3d47321a4d73c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:32:41 +0000 Subject: [PATCH 5/6] Improve warning message for directory deletion failures Co-authored-by: supervoidcoder <88671013+supervoidcoder@users.noreply.github.com> --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27e2ab2..43f62db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -260,7 +260,7 @@ jobs: echo "Flattening artifact directory structure..." find artifacts -name "*.exe" -type f -exec mv -n {} artifacts/ \; echo "Removing empty subdirectories..." - find artifacts -mindepth 1 -type d -delete || echo "Warning: Some directories could not be deleted" + find artifacts -mindepth 1 -type d -delete || echo "Warning: Failed to delete some subdirectories in artifacts/ - this may indicate remaining files or permission issues" echo "Flattened artifacts directory:" ls -la artifacts/ From a7ffc431b9ee53e314cac940fd8d37ac1180eb38 Mon Sep 17 00:00:00 2001 From: supervoidcoder <88671013+supervoidcoder@users.noreply.github.com> Date: Mon, 19 Jan 2026 15:38:12 -0500 Subject: [PATCH 6/6] Fix include statement for algorithm header --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 1cd0af0..d8f2e03 100644 --- a/main.cpp +++ b/main.cpp @@ -15,7 +15,7 @@ #include #include #include -#include +#include #define windows_time_to_unix_epoch(x) ((x) - 116444736000000000LL) / 10000000LL // The above macro converts Windows FILETIME to Unix epoch time in seconds.