Document behavior of the application/config/version project setting

The alternative is to default to `1.0.0`, but this means that it
won't be saved to `project.godot` if the version number is equal to `1.0.0`.
This commit is contained in:
Hugo Locurcio 2023-08-11 11:22:09 +02:00
parent 7df393312f
commit cb0814f051
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C

View File

@ -298,7 +298,7 @@
[b]Note:[/b] Changing this value can help on platforms or with third-party tools where hidden directory patterns are disallowed. Only modify this setting if you know that your environment requires it, as changing the default can impact compatibility with some external tools or plugins which expect the default [code].godot[/code] folder.
</member>
<member name="application/config/version" type="String" setter="" getter="" default="&quot;&quot;">
The project's human-readable version identifier. This should always be set to a non-empty string, as some exporters rely on this value being defined.
The project's human-readable version identifier. This is used by exporters if the version identifier isn't overridden there. If [member application/config/version] is an empty string and the version identifier isn't overridden in an exporter, the exporter will use [code]1.0.0[/code] as a version identifier.
</member>
<member name="application/config/windows_native_icon" type="String" setter="" getter="" default="&quot;&quot;">
Icon set in [code].ico[/code] format used on Windows to set the game's icon. This is done automatically on start by calling [method DisplayServer.set_native_icon].