This repository was archived by the owner on Sep 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,8 @@ $repositories | ForEach-Object {
128
128
}
129
129
130
130
$sdkVersion = (cmake - P .\packages\pico- setup- windows\pico- sdk- version.cmake - N | Select-String - Pattern ' PICO_SDK_VERSION_STRING=(.*)$' ).Matches.Groups[1 ].Value
131
+ $sdkVersion -match $versionRegEx
132
+ $sdkVersionClean = $Matches [0 ]
131
133
$product = " Raspberry Pi Pico SDK v$sdkVersion "
132
134
$productDir = " Raspberry Pi\Pico SDK v$sdkVersion "
133
135
$company = " Raspberry Pi Ltd"
@@ -255,10 +257,11 @@ VIAddVersionKey "FileDescription" "`${TITLE}"
255
257
VIAddVersionKey "InternalName" "$basename "
256
258
VIAddVersionKey "ProductName" "`$ {TITLE}"
257
259
VIAddVersionKey "FileVersion" "$version "
260
+ VIAddVersionKey "ProductVersion" "$sdkVersion "
258
261
VIAddVersionKey "LegalCopyright" "$company "
259
262
VIAddVersionKey "CompanyName" "$company "
260
263
VIFileVersion $version .0
261
- VIProductVersion $version .0
264
+ VIProductVersion $sdkVersion .0
262
265
263
266
; Since we're packaging up a bunch of installers, the "Space required" shown is inaccurate
264
267
SpaceTexts "none"
You can’t perform that action at this time.
0 commit comments