Skip to content

Conversation

@beNative
Copy link
Owner

Summary

  • rename the Windows 32-bit build matrix entry to win32 and adjust artifact collection paths
  • retitle release asset renaming so 32-bit installers and metadata use a win32 suffix instead of ia32
  • refresh auto-update helper tests to cover the new win32 naming convention

Testing

  • npm test

https://chatgpt.com/codex/tasks/task_e_68f38a082bb8833297fd4da6904ca14f

@beNative beNative merged commit f777b0f into main Oct 18, 2025
6 checks passed
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +124 to 148
# --- Windows (win32) ---
if [[ -d artifacts/windows-win32-artifacts ]]; then
for file in artifacts/windows-win32-artifacts/*.exe; do
base="$(basename "$file")"
target="$base"
if [[ "$base" != *-ia32.exe ]]; then
target="${base%.exe}-ia32.exe"
if [[ "$base" == *-ia32* ]]; then
target="${base//-ia32/-win32}"
elif [[ "$base" != *-win32.exe ]]; then
target="${base%.exe}-win32.exe"
fi
cp "$file" "release_upload/$target"
done
for file in artifacts/windows-ia32-artifacts/*.exe.blockmap; do
for file in artifacts/windows-win32-artifacts/*.exe.blockmap; do
base="$(basename "$file")"
target="$base"
if [[ "$base" != *-ia32.exe.blockmap ]]; then
target="${base/.exe/-ia32.exe}"
if [[ "$base" == *-ia32* ]]; then
target="${base//-ia32/-win32}"
elif [[ "$base" != *-win32.exe.blockmap ]]; then
target="${base/.exe/-win32.exe}"
fi
cp "$file" "release_upload/$target"
done
if [[ -f artifacts/windows-ia32-artifacts/latest.yml ]]; then
cp artifacts/windows-ia32-artifacts/latest.yml release_upload/latest-ia32.yml
if [[ -f artifacts/windows-win32-artifacts/latest.yml ]]; then
cp artifacts/windows-win32-artifacts/latest.yml release_upload/latest-win32.yml
fi

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update win32 metadata when renaming artifacts

The release step now renames 32‑bit Windows installers and blockmaps from *-ia32* to *-win32*, but it still uploads the unmodified latest.yml generated by electron‑builder. That metadata file continues to reference the original *-ia32* filenames, so the auto‑updater will try to download *-ia32.exe assets that no longer exist once the files have been renamed to *-win32.exe. This will break updates for Windows 32‑bit builds. The metadata needs to be rewritten (or generated with win32 names) to match the renamed artifacts before copying.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant