From 41f39232c26fcdb4c4dd9db728b0d7ed3d833a02 Mon Sep 17 00:00:00 2001 From: xuwenwei Date: Wed, 10 Jun 2026 13:56:36 +0800 Subject: [PATCH] Rename Win resources: RustDesk -> SoonDesk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- flutter/windows/CMakeLists.txt | 4 ++-- flutter/windows/runner/Runner.rc | 4 ++-- flutter/windows/runner/main.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flutter/windows/CMakeLists.txt b/flutter/windows/CMakeLists.txt index 926941b..1441dd0 100644 --- a/flutter/windows/CMakeLists.txt +++ b/flutter/windows/CMakeLists.txt @@ -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. diff --git a/flutter/windows/runner/Runner.rc b/flutter/windows/runner/Runner.rc index ab1b7e0..4b4ab5d 100644 --- a/flutter/windows/runner/Runner.rc +++ b/flutter/windows/runner/Runner.rc @@ -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 diff --git a/flutter/windows/runner/main.cpp b/flutter/windows/runner/main.cpp index cd9f386..e5bcaee 100644 --- a/flutter/windows/runner/main.cpp +++ b/flutter/windows/runner/main.cpp @@ -63,7 +63,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, std::vector 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};