Windows compilation fails to open normally #3077

Closed
opened 2026-02-21 01:06:10 -05:00 by deekerman · 1 comment
Owner

Originally created by @BiFangKNT on GitHub (Oct 27, 2024).

Bug Description

image
As shown in the figure. The compiled executable file opens to a blank screen when double-clicked; only the program started with cargo run can be used normally. It seems there is an issue with the working directory.

How to Reproduce

Follow the tutorial in the official documentation to compile, and double-click the executable file to open.

Expected Behavior

Double-click the executable file to use it normally, just like starting with cargo run.

Operating system(s) on local side and remote side

windows10 -> windows10

RustDesk Version(s) on local side and remote side

1.3.1 -> 1.3.1

Screenshots

image

Additional Context

No response

Originally created by @BiFangKNT on GitHub (Oct 27, 2024). ### Bug Description ![image](https://github.com/user-attachments/assets/f8ae1836-1dc2-4968-b9b6-ecc5a9781f12) As shown in the figure. The compiled executable file opens to a blank screen when double-clicked; only the program started with `cargo run` can be used normally. It seems there is an issue with the working directory. ### How to Reproduce Follow the tutorial in the [official documentation](https://rustdesk.com/docs/en/dev/build/windows/) to compile, and double-click the executable file to open. ### Expected Behavior Double-click the executable file to use it normally, just like starting with `cargo run`. ### Operating system(s) on local side and remote side windows10 -> windows10 ### RustDesk Version(s) on local side and remote side 1.3.1 -> 1.3.1 ### Screenshots ![image](https://github.com/user-attachments/assets/f8ae1836-1dc2-4968-b9b6-ecc5a9781f12) ### Additional Context _No response_
deekerman 2026-02-21 01:06:10 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rustdesk commented on GitHub (Oct 27, 2024):

#763

@rustdesk commented on GitHub (Oct 27, 2024): #763
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rustdesk-rustdesk#3077
No description provided.