Skip to content

Commit

Permalink
Ignore 'beta' when setting version info on WIndows
Browse files Browse the repository at this point in the history
Windows doesn't expect text in PRODUCTVERSION/FILEVERSION, so make sure we pass
in the stripped-down version instead.
  • Loading branch information
danrahn committed Apr 27, 2024
1 parent 13cdcbe commit 48a8736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Build/build.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ async function toExe() {
loglevel : verbose ? 'verbose' : 'info',
ico : iconPath,
rc : {
PRODUCTVERSION : version,
FILEVERSION : version,
PRODUCTVERSION : rcVersion,
FILEVERSION : rcVersion,
...rc
},
resources : [
Expand Down

0 comments on commit 48a8736

Please sign in to comment.