windows: Implement app_version (#9410)

#### Call `app_version`:

![Screenshot 2024-03-16
011821](https://github.com/zed-industries/zed/assets/14981363/9e618e49-fee2-4e7a-b884-6b0be05a0c95)

#### `Zed.exe` info:

![Screenshot 2024-03-16
011856](https://github.com/zed-industries/zed/assets/14981363/2b17a5df-ad38-42d0-8396-53680d77101d)


Release Notes:

- N/A
This commit is contained in:
张小白 2024-03-20 03:40:57 +08:00 committed by GitHub
parent cfa0fc96f0
commit 85c294da9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 129 additions and 6 deletions

25
Cargo.lock generated
View file

@ -9867,6 +9867,18 @@ dependencies = [
"serde",
]
[[package]]
name = "toml"
version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257"
dependencies = [
"serde",
"serde_spanned",
"toml_datetime",
"toml_edit 0.19.15",
]
[[package]]
name = "toml"
version = "0.8.10"
@ -9895,6 +9907,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421"
dependencies = [
"indexmap 2.0.0",
"serde",
"serde_spanned",
"toml_datetime",
"winnow 0.5.15",
]
@ -12030,6 +12044,16 @@ dependencies = [
"windows-sys 0.48.0",
]
[[package]]
name = "winresource"
version = "0.1.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77e2aaaf8cfa92078c0c0375423d631f82f2f57979c2884fdd5f604a11e45329"
dependencies = [
"toml 0.7.8",
"version_check",
]
[[package]]
name = "winx"
version = "0.36.3"
@ -12584,6 +12608,7 @@ dependencies = [
"uuid",
"vim",
"welcome",
"winresource",
"workspace",
"zed_actions",
]