What does a “version file” look like?

前端 未结 5 1906
别那么骄傲
别那么骄傲 2020-12-08 07:15

I\'ve been googling this for ages now without results. The PyInstaller manual says:

--version-file=FILE
    add a version resource from FILE to the exe

5条回答
  •  借酒劲吻你
    2020-12-08 07:34

    Please note that the version file uses Python code, so you can give it the .py extension rather than .rc.

    This will allow you to see it formatted nicely in your IDE, to check for errors (ignore "Unresolved References", of course), and to do anything else Python allows you to do.

提交回复
热议问题