unify winres

This commit is contained in:
rustdesk 2024-03-07 17:00:32 +08:00
parent 75a871c437
commit 921ee34779
4 changed files with 12 additions and 8 deletions

View File

@ -4,7 +4,7 @@ version = "1.2.4"
authors = ["rustdesk <info@rustdesk.com>"]
edition = "2021"
build= "build.rs"
description = "A remote control software."
description = "Open Source Remote Desktop Access Software"
default-run = "rustdesk"
rust-version = "1.75"
@ -162,7 +162,8 @@ members = ["libs/scrap", "libs/hbb_common", "libs/enigo", "libs/clipboard", "lib
exclude = ["vdi/host", "examples/custom_plugin"]
[package.metadata.winres]
LegalCopyright = "Copyright © 2024 Purslane, Inc."
LegalCopyright = "Copyright © 2024 Purslane Ltd."
ProductName = "RustDesk"
OriginalFilename = "rustdesk.exe"
[target.'cfg(target_os="windows")'.build-dependencies]

View File

@ -89,13 +89,13 @@ BEGIN
BEGIN
BLOCK "040904e4"
BEGIN
VALUE "CompanyName", "com.carriez" "\0"
VALUE "FileDescription", "rustdesk" "\0"
VALUE "CompanyName", "Purslane Ltd" "\0"
VALUE "FileDescription", "Open Source Remote Desktop Access Software" "\0"
VALUE "FileVersion", VERSION_AS_STRING "\0"
VALUE "InternalName", "rustdesk" "\0"
VALUE "LegalCopyright", "Copyright (C) 2023 com.carriez. All rights reserved." "\0"
VALUE "LegalCopyright", "Copyright © 2024 Purslane Ltd." "\0"
VALUE "OriginalFilename", "rustdesk.exe" "\0"
VALUE "ProductName", "rustdesk" "\0"
VALUE "ProductName", "RustDesk" "\0"
VALUE "ProductVersion", VERSION_AS_STRING "\0"
END
END

View File

@ -2,6 +2,7 @@
name = "rustdesk-portable-packer"
version = "1.2.4"
edition = "2021"
description = "Open Source Remote Desktop Access Software"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -14,8 +15,9 @@ md5 = "0.7"
winapi = { version = "0.3", features = ["winbase"] }
[package.metadata.winres]
LegalCopyright = "Copyright © 2024 Purslane, Inc."
ProductName = "rustdesk"
LegalCopyright = "Copyright © 2024 Purslane Ltd."
ProductName = "RustDesk"
OriginalFilename = "rustdesk.exe"
#ProductVersion = ""
[target.'cfg(target_os="windows")'.build-dependencies]

View File

@ -4,4 +4,5 @@ for size in 16 32 64 128 256 512 1024; do
convert icon.png -resize ${size}x${size} app_icon_$size.png
done
# from ImageMagick
convert 16.png 32.png 48.png 128.png 256.png -colors 256 icon.ico
#/bin/rm 16.png 32.png 48.png 128.png 256.png