Skip to content

fix: update the dmgbuild hex regex to be case insensitive#9487

Merged
mmaietta merged 3 commits into
masterfrom
Kilian-patch-1
Jan 7, 2026
Merged

fix: update the dmgbuild hex regex to be case insensitive#9487
mmaietta merged 3 commits into
masterfrom
Kilian-patch-1

Conversation

@Kilian
Copy link
Copy Markdown
Contributor

@Kilian Kilian commented Jan 7, 2026

The hex regexes for dmgbuilders failed when using uppercase hex (#FFFFFF instead of #ffffff), and this meant that the backgroundColor option of dmg had to be lowercase.

The rest of the colors.py file handles uppercase and lowercase the same and return the proper object when the hex code is in uppercase, so it was just the regex that needed updating.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jan 7, 2026

🦋 Changeset detected

Latest commit: 10ff035

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
dmg-builder Patch
app-builder-lib Patch
electron-builder Patch
electron-builder-squirrel-windows Patch
electron-forge-maker-appimage Patch
electron-forge-maker-nsis-web Patch
electron-forge-maker-nsis Patch
electron-forge-maker-snap Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mmaietta mmaietta changed the title update the dmgbuilder hex regex to be case insensitive fix: update the dmgbuild hex regex to be case insensitive Jan 7, 2026
@mmaietta mmaietta merged commit c3af390 into master Jan 7, 2026
58 of 59 checks passed
@mmaietta mmaietta deleted the Kilian-patch-1 branch January 7, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants