From 921ee3477962fa6045749d02dde2ee18fdbc1286 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Thu, 7 Mar 2024 17:00:32 +0800 Subject: [PATCH] unify winres --- Cargo.toml | 5 +++-- flutter/windows/runner/Runner.rc | 8 ++++---- libs/portable/Cargo.toml | 6 ++++-- res/gen_icon.sh | 1 + 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 782e5b23f..a22eea948 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "1.2.4" authors = ["rustdesk "] 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] diff --git a/flutter/windows/runner/Runner.rc b/flutter/windows/runner/Runner.rc index 03776ded4..eb582639a 100644 --- a/flutter/windows/runner/Runner.rc +++ b/flutter/windows/runner/Runner.rc @@ -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 diff --git a/libs/portable/Cargo.toml b/libs/portable/Cargo.toml index 307f5716c..2529b2f5f 100644 --- a/libs/portable/Cargo.toml +++ b/libs/portable/Cargo.toml @@ -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] diff --git a/res/gen_icon.sh b/res/gen_icon.sh index 83252a6ae..e9f38355f 100644 --- a/res/gen_icon.sh +++ b/res/gen_icon.sh @@ -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