-
Notifications
You must be signed in to change notification settings - Fork 35.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bitcoin-Qt (Windows only): extend Resource File #1607
Conversation
Hm, nice to add some metadata, but it adds yet another place to update the version number. That sucks... Maybe only add the major versions? |
I guess this could be scripted in the Gitian process, but I'm no Linux-Script guy. I would love to see this added and I'm fine with major version numbers (e.g. 0.7.X.0), but could take a look here and update when needed :). It's also possible to include a header with that version stuff, but it's only allowed to consist of the version #defines. So our version.h did not work, too bad. |
"makes bitcoin-qt.exe a bit more trust-worthy" |
@laanwj Why? When I use the tool ProcessExplorer, which is able to show some internal informations of running processes, handles and so on, I consider an application that provides no meta-data as suspicious on the first look. I think it's a good style to supply such meta-data. |
Heh, you meant "makes bitcoin-qt.exe look more trust-worthy". Actually becoming more trust-worthy... would be interesting, that was the joke. I'm for merging this of course. Can't we remove the version completely, for now, until someone sets up a script to insert it automatically? |
I meant look more trust-worthy, which is a personal thing, so yes ;). Well I could simply comment out the version #defines but I fear no Linux dev who is able to write shell scripts is willing to put work into this ^^. I'm going to take another look at this issue now. Edit: Btw. is version.h missing by intent from HEADERS += in the project file? |
wow really? that's about as effective as naming bitcoin-qt.exe to legit_bitcoin-qt.exe |
VALUE "InternalName", "bitcoin-qt" | ||
VALUE "LegalCopyright", "2009-2012 The Bitcoin developers" | ||
VALUE "LegalTrademarks1", "Distributed under the MIT/X11 software license, see the accompanying" | ||
VALUE "LegalTrademarks2", "file COPYING or http://www.opensource.org/licenses/mit-license.php." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure there's no point to breaking up the message into different properties.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm allowed to use 2 rows and I chose the exact format used all over the source, I think that is just fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm with gruez on this one. LegalCopyright is a separate unit, but I don't see why split LegalTradeMarks1 / LegalTradeMarks2 at a illogical place between two words.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merged LegalTrademarks2 into LegalTrademarks1 :), you convinced me.
I split the needed version stuff into versionrc.h ... still a manual solution, but a small step perhaps to one who can help automating this :-D. |
Updated FileDescription string and I was able to change the language property to display neutral language, which is better, because we have quite many translations in. |
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/368e127e53f7dfe517b96f7fb1b365b3ef1c77a3 for binaries and test log. |
Can we merge this without the version for now? Just add base metadata for this pull, and do the scripting stuff in a later pull. |
I can comment out the version stuff in the .rc file and remove the header for now. But to not forget about this I'll re-open a pull after the basic one is in okay? |
- extend bitcoin-qt.rc to include meta information, which is displayed on Windows, when looking in the executable properties and selecting "Details" - does currently NOT include version information, this is scheduled for later releases - for RC-file documentation see: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058%28v=vs.85%29.aspx
Last update removed all version stuff (for now), see the screenshot in the first posting. |
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/4b94f4e0ed38a95a3e2c3e80258fe73b88c3826c for binaries and test log. |
ACK |
Bitcoin-Qt (Windows only): extend Resource File
Windows, when looking in the executable properties and selecting
"Details"
for later releases
http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058%28v=vs.85%29.aspx