From 4a50bc6fc2e123d268f60689ca7b90b201e99fd6 Mon Sep 17 00:00:00 2001 From: John Eismeier <42679190+jeis4wpi@users.noreply.github.com> Date: Tue, 21 Apr 2026 04:27:39 -0400 Subject: [PATCH] Propose fix some typos (#14857) Signed-off-by: John E --- flatpak/com.rustdesk.RustDesk.metainfo.xml | 4 +- libs/scrap/src/common/mediacodec.rs | 2 +- res/audits.py | 82 +++++++++++----------- res/msi/CustomActions/CustomActions.cpp | 10 +-- src/flutter_ffi.rs | 2 +- 5 files changed, 50 insertions(+), 50 deletions(-) mode change 100644 => 100755 res/audits.py diff --git a/flatpak/com.rustdesk.RustDesk.metainfo.xml b/flatpak/com.rustdesk.RustDesk.metainfo.xml index 0d3b33bb8..90bdafcb5 100644 --- a/flatpak/com.rustdesk.RustDesk.metainfo.xml +++ b/flatpak/com.rustdesk.RustDesk.metainfo.xml @@ -18,7 +18,7 @@
  • Supports VP8 / VP9 / AV1 software codecs, and H264 / H265 hardware codecs.
  • Own your data, easily set up self-hosting solution on your infrastructure.
  • P2P connection with end-to-end encryption based on NaCl.
  • -
  • No administrative privileges or installation needed for Windows, elevate priviledge locally or from remote on demand.
  • +
  • No administrative privileges or installation needed for Windows, elevate privilege locally or from remote on demand.
  • We like to keep things simple and will strive to make simpler where possible.
  • @@ -56,4 +56,4 @@ pointing - \ No newline at end of file + diff --git a/libs/scrap/src/common/mediacodec.rs b/libs/scrap/src/common/mediacodec.rs index bd3eace7b..8ec5e6b8f 100644 --- a/libs/scrap/src/common/mediacodec.rs +++ b/libs/scrap/src/common/mediacodec.rs @@ -151,7 +151,7 @@ fn create_media_codec(name: &str, direction: MediaCodecDirection) -> Option stop service in tray --> start service -> upgrade // Sleep(300); @@ -758,7 +758,7 @@ UINT __stdcall AddRegSoftwareSASGeneration(__in MSIHANDLE hInstall) } // Why RegSetValueExW always return 998? - // + // result = RegCreateKeyExW(HKEY_LOCAL_MACHINE, subKey, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &hKey, NULL); if (result != ERROR_SUCCESS) { WcaLog(LOGMSG_STANDARD, "Failed to create or open registry key: %d", result); @@ -874,7 +874,7 @@ void TryCreateStartServiceByShell(LPWSTR svcName, LPWSTR svcBinary, LPWSTR szSvc i = 0; j = 0; // svcBinary is a string with double quotes, we need to escape it for shell arguments. - // It is orignal used for `CreateServiceW`. + // It is original used for `CreateServiceW`. // eg. "C:\Program Files\MyApp\MyApp.exe" --service -> \"C:\Program Files\MyApp\MyApp.exe\" --service while (true) { if (svcBinary[j] == L'"') { diff --git a/src/flutter_ffi.rs b/src/flutter_ffi.rs index e29133687..2d339f5c2 100644 --- a/src/flutter_ffi.rs +++ b/src/flutter_ffi.rs @@ -2884,7 +2884,7 @@ pub fn main_set_common(_key: String, _value: String) { } else if _key == "update-me" { if let Some(new_version_file) = get_download_file_from_url(&_value) { log::debug!( - "New version file is downloaed, update begin, {:?}", + "New version file is downloaded, update begin, {:?}", new_version_file.to_str() ); if let Some(f) = new_version_file.to_str() {