Fix typo
This commit is contained in:
parent
4e7568dec1
commit
71103886e6
6
.github/workflows/flutter-nightly.yml
vendored
6
.github/workflows/flutter-nightly.yml
vendored
@ -377,7 +377,7 @@ jobs:
|
||||
run: |
|
||||
~/.cargo/bin/flutter_rust_bridge_codegen --rust-input ./src/flutter_ffi.rs --dart-output ./flutter/lib/generated_bridge.dart
|
||||
|
||||
- name: Upload Artifcat
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: bridge-artifact
|
||||
@ -1012,7 +1012,7 @@ jobs:
|
||||
files: |
|
||||
rustdesk-${{ env.VERSION }}-${{ matrix.job.target }}-${{ matrix.job.os }}.deb
|
||||
|
||||
- name: Upload Artifcat
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@master
|
||||
if: ${{ contains(matrix.job.extra-build-features, 'flatpak') }}
|
||||
with:
|
||||
@ -1188,7 +1188,7 @@ jobs:
|
||||
files: |
|
||||
rustdesk-${{ env.VERSION }}-${{ matrix.job.target }}-${{ matrix.job.os }}.deb
|
||||
|
||||
- name: Upload Artifcat
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@master
|
||||
if: ${{ contains(matrix.job.extra-build-features, 'flatpak') }}
|
||||
with:
|
||||
|
2
build.py
2
build.py
@ -21,7 +21,7 @@ skip_cargo = False
|
||||
def custom_os_system(cmd):
|
||||
err = os._system(cmd)
|
||||
if err != 0:
|
||||
print(f"Error occured when executing: {cmd}. Exiting.")
|
||||
print(f"Error occurred when executing: {cmd}. Exiting.")
|
||||
sys.exit(-1)
|
||||
# replace prebuilt os.system
|
||||
os._system = os.system
|
||||
|
@ -4,7 +4,7 @@ Doc: https://rustdesk.com/docs/en/manual/mobile/
|
||||
|
||||
In order for a remote device to control your Android device via mouse or touch, you need to allow RustDesk to use the "Accessibility" service, RustDesk uses AccessibilityService API to implement Addroid remote control.
|
||||
|
||||
In addtion to remote control, you can also transfer files between Android devices and PCs easily with RustDesk.
|
||||
In addition to remote control, you can also transfer files between Android devices and PCs easily with RustDesk.
|
||||
|
||||
You have full control of your data, with no concerns about security. You can use our rendezvous/relay server, or self-hosting, or write your own rendezvous/relay server. Self-hosting server is free and open source: https://github.com/rustdesk/rustdesk-server
|
||||
|
||||
|
@ -46,7 +46,7 @@ var isWebDesktop = false;
|
||||
var version = "";
|
||||
int androidVersion = 0;
|
||||
|
||||
/// only avaliable for Windows target
|
||||
/// only available for Windows target
|
||||
int windowsBuildNumber = 0;
|
||||
DesktopType? desktopType;
|
||||
|
||||
@ -1373,7 +1373,7 @@ Future<Map<String, String>> getHttpHeaders() async {
|
||||
};
|
||||
}
|
||||
|
||||
// Simple wrapper of built-in types for refrence use.
|
||||
// Simple wrapper of built-in types for reference use.
|
||||
class SimpleWrapper<T> {
|
||||
T value;
|
||||
SimpleWrapper(this.value);
|
||||
@ -1409,7 +1409,7 @@ Future<void> reloadAllWindows() async {
|
||||
/// Indicate the flutter app is running in portable mode.
|
||||
///
|
||||
/// [Note]
|
||||
/// Portable build is only avaliable on Windows.
|
||||
/// Portable build is only available on Windows.
|
||||
bool isRunningInPortableMode() {
|
||||
if (!Platform.isWindows) {
|
||||
return false;
|
||||
|
@ -464,7 +464,7 @@ abstract class BasePeerCard extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
|
||||
/// Only avaliable on Windows.
|
||||
/// Only available on Windows.
|
||||
@protected
|
||||
MenuEntryBase<String> _createShortCutAction(String id) {
|
||||
return MenuEntryButton<String>(
|
||||
|
@ -208,7 +208,7 @@ class RustDeskMultiWindowManager {
|
||||
|
||||
/// Remove active window which has [`windowId`]
|
||||
///
|
||||
/// [Avaliability]
|
||||
/// [Availability]
|
||||
/// This function should only be called from main window.
|
||||
/// For other windows, please post a unregister(hide) event to main window handler:
|
||||
/// `rustDeskWinManager.call(WindowType.Main, kWindowEventHide, {"id": windowId!});`
|
||||
|
@ -21,7 +21,7 @@
|
||||
//! Possible use cases could be for testing user interfaces on different
|
||||
//! plattforms,
|
||||
//! building remote control applications or just automating tasks for user
|
||||
//! interfaces unaccessible by a public API or scripting laguage.
|
||||
//! interfaces unaccessible by a public API or scripting language.
|
||||
//!
|
||||
//! For the keyboard there are currently two modes you can use. The first mode
|
||||
//! is represented by the [key_sequence]() function
|
||||
|
@ -68,7 +68,7 @@ extern "C" {
|
||||
) -> Boolean;
|
||||
|
||||
fn CGEventPost(tapLocation: CGEventTapLocation, event: *mut MyCGEvent);
|
||||
// Actually return CFDataRef which is const here, but for coding convienence, return *mut c_void
|
||||
// Actually return CFDataRef which is const here, but for coding convenience, return *mut c_void
|
||||
fn TISGetInputSourceProperty(source: TISInputSourceRef, property: *const c_void)
|
||||
-> *mut c_void;
|
||||
// not present in servo/core-graphics
|
||||
|
@ -578,7 +578,7 @@ impl TransferJob {
|
||||
///
|
||||
/// [`Note`]
|
||||
/// Conditions:
|
||||
/// 1. Files are not waiting for comfirmation by peers.
|
||||
/// 1. Files are not waiting for confirmation by peers.
|
||||
#[inline]
|
||||
pub fn job_completed(&self) -> bool {
|
||||
// has no error, Condition 2
|
||||
|
@ -339,7 +339,7 @@ impl CapturerMag {
|
||||
}
|
||||
|
||||
// Register the host window class. See the MSDN documentation of the
|
||||
// Magnification API for more infomation.
|
||||
// Magnification API for more information.
|
||||
let wcex = WNDCLASSEXA {
|
||||
cbSize: size_of::<WNDCLASSEXA>() as _,
|
||||
style: 0,
|
||||
|
@ -66,7 +66,7 @@ const char* GetLastMsg()
|
||||
|
||||
BOOL InstallUpdate(LPCWSTR fullInfPath, PBOOL rebootRequired)
|
||||
{
|
||||
SetLastMsg("Sucess");
|
||||
SetLastMsg("Success");
|
||||
|
||||
// UpdateDriverForPlugAndPlayDevicesW may return FALSE while driver was successfully installed...
|
||||
if (FALSE == UpdateDriverForPlugAndPlayDevicesW(
|
||||
@ -96,7 +96,7 @@ BOOL InstallUpdate(LPCWSTR fullInfPath, PBOOL rebootRequired)
|
||||
|
||||
BOOL Uninstall(LPCWSTR fullInfPath, PBOOL rebootRequired)
|
||||
{
|
||||
SetLastMsg("Sucess");
|
||||
SetLastMsg("Success");
|
||||
|
||||
if (FALSE == DiUninstallDriverW(
|
||||
NULL,
|
||||
@ -122,7 +122,7 @@ BOOL Uninstall(LPCWSTR fullInfPath, PBOOL rebootRequired)
|
||||
|
||||
BOOL IsDeviceCreated(PBOOL created)
|
||||
{
|
||||
SetLastMsg("Sucess");
|
||||
SetLastMsg("Success");
|
||||
|
||||
HDEVINFO hardwareDeviceInfo = SetupDiGetClassDevs(
|
||||
&GUID_DEVINTERFACE_IDD_DRIVER_DEVICE,
|
||||
@ -181,7 +181,7 @@ BOOL IsDeviceCreated(PBOOL created)
|
||||
|
||||
BOOL DeviceCreate(PHSWDEVICE hSwDevice)
|
||||
{
|
||||
SetLastMsg("Sucess");
|
||||
SetLastMsg("Success");
|
||||
|
||||
if (*hSwDevice != NULL)
|
||||
{
|
||||
@ -274,7 +274,7 @@ BOOL DeviceCreate(PHSWDEVICE hSwDevice)
|
||||
|
||||
VOID DeviceClose(HSWDEVICE hSwDevice)
|
||||
{
|
||||
SetLastMsg("Sucess");
|
||||
SetLastMsg("Success");
|
||||
|
||||
if (hSwDevice != INVALID_HANDLE_VALUE && hSwDevice != NULL)
|
||||
{
|
||||
@ -284,7 +284,7 @@ VOID DeviceClose(HSWDEVICE hSwDevice)
|
||||
|
||||
BOOL MonitorPlugIn(UINT index, UINT edid, INT retries)
|
||||
{
|
||||
SetLastMsg("Sucess");
|
||||
SetLastMsg("Success");
|
||||
|
||||
if (retries < 0)
|
||||
{
|
||||
@ -359,7 +359,7 @@ BOOL MonitorPlugIn(UINT index, UINT edid, INT retries)
|
||||
|
||||
BOOL MonitorPlugOut(UINT index)
|
||||
{
|
||||
SetLastMsg("Sucess");
|
||||
SetLastMsg("Success");
|
||||
|
||||
HANDLE hDevice = DeviceOpenHandle();
|
||||
if (hDevice == INVALID_HANDLE_VALUE || hDevice == NULL)
|
||||
@ -400,7 +400,7 @@ BOOL MonitorPlugOut(UINT index)
|
||||
|
||||
BOOL MonitorModesUpdate(UINT index, UINT modeCount, PMonitorMode modes)
|
||||
{
|
||||
SetLastMsg("Sucess");
|
||||
SetLastMsg("Success");
|
||||
|
||||
HANDLE hDevice = DeviceOpenHandle();
|
||||
if (hDevice == INVALID_HANDLE_VALUE || hDevice == NULL)
|
||||
@ -721,7 +721,7 @@ Clean0:
|
||||
// https://stackoverflow.com/questions/67164846/createfile-fails-unless-i-disable-enable-my-device
|
||||
HANDLE DeviceOpenHandle()
|
||||
{
|
||||
SetLastMsg("Sucess");
|
||||
SetLastMsg("Success");
|
||||
|
||||
// const int maxDevPathLen = 256;
|
||||
TCHAR devicePath[256] = { 0 };
|
||||
|
@ -47,7 +47,7 @@ BOOL IsDeviceCreated(PBOOL created);
|
||||
/**
|
||||
* @brief Create device.
|
||||
* Only one device should be created.
|
||||
* If device is installed ealier, this function returns FALSE.
|
||||
* If device is installed earlier, this function returns FALSE.
|
||||
*
|
||||
* @param hSwDevice [out] Handler of software device, used by DeviceCreate(). Should be **NULL**.
|
||||
*
|
||||
|
@ -305,7 +305,7 @@ fn core_main_invoke_new_connection(mut args: std::env::Args) -> Option<Vec<Strin
|
||||
let res = crate::platform::send_message_to_hnwd(
|
||||
"FLUTTER_RUNNER_WIN32_WINDOW",
|
||||
"RustDesk",
|
||||
(WM_USER + 2) as _, // refered from unilinks desktop pub
|
||||
(WM_USER + 2) as _, // referred from unilinks desktop pub
|
||||
uni_links.as_str(),
|
||||
true,
|
||||
);
|
||||
|
@ -500,7 +500,7 @@ pub fn start_os_service() {
|
||||
Err(err) => {
|
||||
log::error!("Failed to start server: {}", err);
|
||||
}
|
||||
_ => { /*no hapen*/ }
|
||||
_ => { /*no happen*/ }
|
||||
}
|
||||
}
|
||||
std::thread::sleep(std::time::Duration::from_millis(super::SERVICE_INTERVAL));
|
||||
|
@ -244,7 +244,7 @@ impl Connection {
|
||||
|
||||
loop {
|
||||
tokio::select! {
|
||||
// biased; // video has higher priority // causing test_delay_timer failed while transfering big file
|
||||
// biased; // video has higher priority // causing test_delay_timer failed while transferring big file
|
||||
|
||||
Some(data) = rx_from_cm.recv() => {
|
||||
match data {
|
||||
|
@ -223,7 +223,7 @@ lazy_static::lazy_static! {
|
||||
|
||||
// First call set_uinput() will create keyboard and mouse clients.
|
||||
// The clients are ipc connections that must live shorter than tokio runtime.
|
||||
// Thus this funtion must not be called in a temporary runtime.
|
||||
// Thus this function must not be called in a temporary runtime.
|
||||
#[cfg(target_os = "linux")]
|
||||
pub async fn setup_uinput(minx: i32, maxx: i32, miny: i32, maxy: i32) -> ResultType<()> {
|
||||
// Keyboard and mouse both open /dev/uinput
|
||||
|
@ -198,7 +198,7 @@ impl VideoQoS {
|
||||
|
||||
#[cfg(target_os = "android")]
|
||||
{
|
||||
// fix when andorid screen shrinks
|
||||
// fix when android screen shrinks
|
||||
let fix = scrap::Display::fix_quality() as u32;
|
||||
log::debug!("Android screen, fix quality:{}", fix);
|
||||
let base_bitrate = base_bitrate * fix;
|
||||
|
@ -31,7 +31,7 @@ class Body: Reactor.Component
|
||||
var disconnected = c.disconnected;
|
||||
var show_elevation_btn = handler.can_elevate() && show_elevation && !c.is_file_transfer && c.port_forward.length == 0;
|
||||
var show_accept_btn = handler.get_option('approve-mode') != 'password';
|
||||
// below size:* is work around for Linux, it alreayd set in css, but not work, shit sciter
|
||||
// below size:* is work around for Linux, it already set in css, but not work, shit sciter
|
||||
return <div .content style="size:*">
|
||||
<div .left-panel>
|
||||
<div .icon-and-id>
|
||||
|
@ -26,7 +26,7 @@ handler.setDisplay = function(x, y, w, h, cursor_embeded) {
|
||||
if (recording) handler.record_screen(true, w, h);
|
||||
}
|
||||
|
||||
// in case toolbar not shown correclty
|
||||
// in case toolbar not shown correctly
|
||||
view.windowMinSize = (scaleIt(500), scaleIt(300));
|
||||
|
||||
function adaptDisplay() {
|
||||
|
@ -95,7 +95,7 @@ extern "C"
|
||||
|
||||
CreateEnvironmentBlock(&lpEnvironment, // Environment block
|
||||
hToken, // New token
|
||||
TRUE); // Inheritence
|
||||
TRUE); // Inheritance
|
||||
}
|
||||
if (lpEnvironment)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user