fanquake
commented at 9:54 AM on November 10, 2018:
member
As mentioned in #14697, if you download the 0.17.0.1 dmg, and inspect the .app bundle, the version in the GetInfo string reads 0.17.0, which is confusing given you're expecting 0.17.0.1:
<img width="391" alt="0 17 0 1" src="https://user-images.githubusercontent.com/863730/48300032-fbb54b00-e510-11e8-9bcd-77e1fffffc63.png">
This PR adds CLIENT_VERSION_BUILD to the string, so that the full version number is displayed, i.e:
<img width="327" alt="this pr" src="https://user-images.githubusercontent.com/863730/48300015-7893f500-e510-11e8-98b9-80424719a082.png">
build: Add CLIENT_VERSION_BUILD to CFBundleGetInfoString8e209340c8
fanquake added the label macOS on Nov 10, 2018
fanquake added the label Build system on Nov 10, 2018
core-code
commented at 10:52 AM on November 25, 2019:
none
this has been going completely into the wrong direction. the 'CFBundleGetInfoString' has been deprecated for more than 10 years (!) and needs to be removed completely and not updated.
(if you need some copyright information it should be added to the 'NSHumanReadableCopyright' field)
meanwhile the 'real' version numbers embedded into the app are still broken. if you download version '0.19.0.1' the version strings are still cropped:
laanwj
commented at 8:15 AM on November 29, 2019:
member
So looks like the versions are still cropped. Can anyone verify?
Sjors
commented at 8:50 AM on November 29, 2019:
member
Not sure where to look, these all look fine on Catalina:
<img width="492" alt="Schermafbeelding 2019-11-29 om 09 49 22" src="https://user-images.githubusercontent.com/10217/69856337-b4ba0500-128d-11ea-8b8b-804dc3b5e830.png">
<img width="465" alt="Schermafbeelding 2019-11-29 om 09 49 39" src="https://user-images.githubusercontent.com/10217/69856347-b7b4f580-128d-11ea-90bd-745d0824552d.png">
<img width="267" alt="Schermafbeelding 2019-11-29 om 09 49 56" src="https://user-images.githubusercontent.com/10217/69856352-bbe11300-128d-11ea-92fc-f4bbcc318c84.png">
core-code
commented at 11:07 AM on November 29, 2019:
none
the screenshots from inside the app aren't useful. they can show anything they want and do not necessarily have a connection to the real version numbers of the app, i.e. the one the operating system knows about and e.g. uses to determine which is the newest version if multiple versions are installed.
the real version numbers are the CFBundleShortVersionString and especially the CFBundleVersion entries in the Info.plist file.
the screenshot from the Finder proves what i've been saying above. you are including the 'CFBundleGetInfoString' in your plist. this has been deprecated for more than 10 years. so, in the Finder you are just seeing this deprecated string instead of the real version numbers. those are still cropped:
<img width="720" alt="Screenshot 2019-11-29 at 12 06 55" src="https://user-images.githubusercontent.com/1261954/69865149-be993380-12a0-11ea-8237-792fae4acb36.png">
laanwj
commented at 12:04 PM on November 29, 2019:
member
core-code
commented at 12:07 PM on November 29, 2019:
none
so, if you change
CFBundleShortVersionString and CFBundleVersion to
<string>@CLIENT_VERSION_MAJOR@.@CLIENT_VERSION_MINOR@.@CLIENT_VERSION_REVISION@.@CLIENT_VERSION_BUILD@</string>
and remove CFBundleGetInfoString and add NSHumanReadableCopyright then things should be good ;)
MarcoFalke
commented at 7:40 PM on December 3, 2019:
member
@core-code Please open a new issue or pull request for this
fanquake referenced this in commit 86fd77f8fe on Dec 3, 2019
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:54 UTC