Rename Win resources: RustDesk -> SoonDesk

Sync the Windows-side branding with the macOS changes from 7edd248.

Changes:
- flutter/windows/runner/Runner.rc: FileDescription, ProductName
- flutter/windows/runner/main.cpp: app_name L"RustDesk" -> L"SoonDesk"
- flutter/windows/CMakeLists.txt: project name + BINARY_NAME

Note: librustdesk.dll name on the Rust side is unchanged — it's the
library crate name (libs/hbb_common/Cargo.toml defines it) and changing
it would require touching the dylib name in build scripts. The SoonDesk
.exe loads librustdesk.dll as before; only the user-visible strings
and the exe name change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
xuwenwei
2026-06-10 13:56:36 +08:00
parent 53ba2d753e
commit 41f39232c2
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
# Project-level configuration.
cmake_minimum_required(VERSION 3.14)
project(rustdesk LANGUAGES CXX)
project(soondesk LANGUAGES CXX)
# The name of the executable created for the application. Change this to change
# the on-disk name of your application.
set(BINARY_NAME "rustdesk")
set(BINARY_NAME "soondesk")
# Explicitly opt into modern CMake behaviors to avoid warnings with recent
# versions of CMake.
+2 -2
View File
@@ -90,12 +90,12 @@ BEGIN
BLOCK "040904e4"
BEGIN
VALUE "CompanyName", "Purslane Ltd" "\0"
VALUE "FileDescription", "RustDesk Remote Desktop" "\0"
VALUE "FileDescription", "SoonDesk Remote Desktop" "\0"
VALUE "FileVersion", VERSION_AS_STRING "\0"
VALUE "InternalName", "rustdesk" "\0"
VALUE "LegalCopyright", "Copyright © 2025 Purslane Ltd. All rights reserved." "\0"
VALUE "OriginalFilename", "rustdesk.exe" "\0"
VALUE "ProductName", "RustDesk" "\0"
VALUE "ProductName", "SoonDesk" "\0"
VALUE "ProductVersion", VERSION_AS_STRING "\0"
END
END
+1 -1
View File
@@ -63,7 +63,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
std::vector<std::string> rust_args(c_args, c_args + args_len);
free_c_args(c_args, args_len);
std::wstring app_name = L"RustDesk";
std::wstring app_name = L"SoonDesk";
FUNC_RUSTDESK_GET_APP_NAME get_rustdesk_app_name = (FUNC_RUSTDESK_GET_APP_NAME)GetProcAddress(hInstance, "get_rustdesk_app_name");
if (get_rustdesk_app_name) {
wchar_t app_name_buffer[512] = {0};