Skip to content

Conversation

@beNative
Copy link
Owner

Summary

  • stop merging all build artifacts into a single directory during release packaging
  • collect architecture-specific installers and manifests explicitly, keeping the x64 auto-update feed intact
  • upload the curated payload to the GitHub release to avoid missing installer assets

Testing

  • not run (workflow change only)

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

@beNative beNative merged commit d5aef12 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 +125 to +134
if [[ -d artifacts/windows-ia32-artifacts ]]; then
for file in artifacts/windows-ia32-artifacts/*.exe; do
base="$(basename "$file")"
ext="${base##*.}"
stem="${base%.$ext}"
cp "$file" "release_upload/${stem}-ia32.${ext}"
done
for file in artifacts/windows-ia32-artifacts/*.exe.blockmap; do
base="$(basename "$file")"
cp "$file" "release_upload/${base/.exe/-ia32.exe}"

Choose a reason for hiding this comment

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

P1 Badge Renaming IA32 installers breaks manifest references

The new packaging step unconditionally copies each windows-ia32-artifacts/*.exe and .exe.blockmap into release_upload with an extra -ia32 appended (cp "$file" "release_upload/${stem}-ia32.${ext}"). When Electron Builder already emits files such as *-ia32.exe and the accompanying latest.yml references those names, this produces *-ia32-ia32.exe artifacts while latest-ia32.yml still advertises the original *-ia32.exe. IA32 clients consuming the feed will therefore request a file that no longer exists and their auto-update will fail. Either skip renaming when the filename already contains the architecture suffix, or adjust the manifest contents to the new names.

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