21pages
60ea8d2c2b
mac scale factor of each screen ( #8368 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-16 12:01:41 +08:00
21pages
ec042434be
use sihost.exe as fallback for run_as_user if no explorer.exe ( #8305 )
...
* There is no relevant information, but I found that each session has a unique sihost.exe, and the user name of the process is consistent with the user name of the session, and after using the task manager to kill this process, it will automatically restart. Checking sessionUserName=siHost UserName may be unnecessary, but since there is no evidence, check it anyway.
* GetFallbackUserPid is called only when explorer.exe does not exist.
* ProcessHacker shows that the tokens of explorer.exe and sihost.exe are the same, I know little about it.
Signed-off-by: 21pages <pages21@163.com>
2024-06-10 20:29:53 +08:00
21pages
ffac670f95
fix nt_terminate_process missing CloseHandle ( #8294 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-06-08 21:15:01 +08:00
21pages
fd0f85d565
no explorer.exe, judge by pid retrived from cpp ( #8291 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-08 16:50:35 +08:00
21pages
8de5f3f0d3
not close connection if failed to start cm due to no explorer.exe ( #8290 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-08 16:11:51 +08:00
21pages
0bb537b872
fix kill occupied ipc process, find with enumerate, kill with NtTerminateProcess ( #8289 )
...
* I reproduced the issue, that process did't have title, couldn't be connected
to and taskkill not work
* Test whether ipc is opccupied with enumerating named pipe
* With NtTerminateProcess, it was killed successfully.
* There is a way to find the exact process which occupy the ipc, I have
not check it, it's from https://github.com/winsiderss/systeminformer
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-08 14:09:16 +08:00
21pages
18464ec570
windows replace uni with cmd to start up main window after installation ( #8235 )
...
This is to avoid uni link not working
Other change: The install window now has the title "appname - Install" to distinguish it from the main application window.
Signed-off-by: 21pages <pages21@163.com>
2024-06-01 20:28:21 +08:00
fufesou
534fc9c40c
fix: linux, login wayland, server ( #8111 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-05-21 23:35:47 +08:00
21pages
d3eaa6600d
fix, windows try kill flutter main window process only when --server's ipc is ( #8086 )
...
occupied
Signed-off-by: 21pages <pages21@163.com>
2024-05-18 23:14:42 +08:00
fufesou
96f41fcc02
refact: custom client, more advanced settings ( #8085 )
...
* refact: custom client, more advanced settings
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* feat: custom client, more advanced settings
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-05-18 23:13:54 +08:00
21pages
c2b7810c33
windows kill flutter main window when --server close ( #8077 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-05-18 08:24:28 +08:00
rustdesk
ac04a032ad
more for custom client of linux
2024-05-06 22:02:13 +08:00
rustdesk
9102b6e6b8
fix ci
2024-05-02 13:54:09 +08:00
rustdesk
7ce0b225ef
remove linux_headless/appimage/flatpak feature
2024-05-02 13:23:32 +08:00
rustdesk
a924a876ae
fix app name refactor
2024-05-01 21:29:11 +08:00
rustdesk
7ce5f8e8b6
fix ci
2024-05-01 13:05:50 +08:00
rustdesk
08b7e036b4
test vcpkg new in android
2024-05-01 12:58:27 +08:00
Sahil Yeole
3811f41076
Feat: Follow remote cursor and window focus | Auto display switch ( #7717 )
...
* feat: auto switch display on follow remote cursor
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* feat: auto switch display on follow remote window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build and remove unused imports
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix linux get_focused_window_id
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* lock show remote cursor when follow remote cursor is enabled
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix config
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* prevent auto display switch on show all display and displays as individual windows
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove unused function
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove unwraps and improve iterations
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* set updateCursorPos to false to avoid interrupting remote cursor
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* update lang
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix web build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* update checks for options and enable in view mode
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use focused display index for window focus service
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use window center for windows display focused
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove unused imports
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use libxdo instead of xdotool
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix multi monitor check
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* enable show cursor when follow cursor is default
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove show_all_displays,use runtime state instead
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix show cursor lock state on default
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove view mode with follow options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use separate message for follow current display
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* sciter support for follow remote cursor and window
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add check for ui session handlers count
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use cached displays and remove peer info write
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* No follow options when show all displays
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* No follow options when multi ui session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* turn off follow options when not used|prevent msgs
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use window center for switch in linux
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use subbed display count to prevent switch msgs
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix web build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* move subbed displays count
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add noperms for window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add subscribe for window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove window_focus message and unsub on multi ui
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add multi ui session field
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
---------
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-04-25 13:26:02 +08:00
rustdesk
67ee3a5a67
refresh_process_specifics
2024-04-23 20:26:21 +08:00
fufesou
b407893db5
refact: win idd, x86 on x64 ( #7796 )
...
* refact: win idd, x86 on x64
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* comments
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* typo
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* refact: win idd, check if x64 and deviceinstaller64 exits
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* refact: win idd
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* refact: win idd, add logs
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-23 17:00:41 +08:00
rustdesk
f11c332cb4
continue to remove --service runtime
2024-04-23 13:52:36 +08:00
rustdesk
4c62d8c1b2
optimize runtime performance of macOS --service
2024-04-22 21:31:53 +08:00
fufesou
4f47d4482b
refact: win, idd control ( #7789 )
...
* refact: win, idd control
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* refact: win device control, better addr of
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* refact: simple refact
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-22 10:37:08 +08:00
fufesou
ad062486ff
Fix/win query arch ( #7786 )
...
* fix: win, query arch with GetNativeSystemInfo
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* refact: idd, ci
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-21 14:55:42 +08:00
rustdesk
0365c94407
remove IsWow64Process2
2024-04-20 19:24:44 +08:00
fufesou
e83c28bf54
refact: win, virtual display ( #7767 )
...
* refact: win, virtual display
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* Update flutter-build.yml
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-04-19 11:31:52 +08:00
writegr
9b2ec62be9
chore: fix some typos in comments ( #7752 )
...
Signed-off-by: writegr <wellweek@outlook.com>
2024-04-18 14:39:38 +08:00
fufesou
64020758d9
Feat. Msi ( #7684 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-11 11:51:35 +08:00
rustdesk
cf8386aa50
remove useless code in is_installed windows
2024-04-09 16:33:03 +08:00
fufesou
65f7541ec7
Fix. Compare cert blob before deleting it. ( #7643 )
...
* Fix. Compare cert blob before deleting it.
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* Rename function name
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-07 14:31:09 +08:00
rustdesk
22da14e3f7
fix https://github.com/rustdesk/rustdesk/discussions/7628 , https://github.com/rustdesk/rustdesk/discussions/7490
2024-04-07 11:31:51 +08:00
fufesou
fddad09167
Refact. Remove unused memset ( #7633 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-06 23:19:50 +08:00
fufesou
f36f065508
Refact. Delete check reg fingerprint ( #7631 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-06 22:58:42 +08:00
fufesou
ab07eb6f4a
Fix. Remove strange cert dir created by 1.2.3 ( #7620 )
...
* Fix. Remove strange cert dir created by 1.2.3
1. Remove `install_cert()`.
2. https://github.com/rustdesk/rustdesk/discussions/6444#discussioncomment-9017532
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* comments
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-06 16:22:59 +08:00
fufesou
2e11a8b458
Fix. Linux, run_cmds, trim new line ( #7579 )
...
* Fix. Linux, run_cmds, trim new line
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* add tests
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-04-02 14:47:13 +08:00
RustDesk
6e689400b6
Revert "macos support uni command "rustdesk rustdesk://xxxx" without mainwind…" ( #7536 )
...
This reverts commit 50fbf8833b73d7c73752c6ca4f2ad4722f6d62e7.
2024-03-27 14:24:14 +08:00
21pages
50fbf8833b
macos support uni command "rustdesk rustdesk://xxxx" without mainwindow ( #7534 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-03-27 13:42:50 +08:00
rustdesk
1fa3837bb0
revert back to async_trait since having to use 1.75 because of win7
...
support
2024-03-27 03:36:33 +08:00
rustdesk
5aec5b084a
refactor --service/--server start time check (my stupid to restart
...
--server)
2024-03-27 03:02:36 +08:00
crazeteam
4f3de4cf54
chore: fix some typos ( #7518 )
...
Signed-off-by: crazeteam <lilujing@outlook.com>
2024-03-27 01:08:56 +08:00
rustdesk
85f387bfb9
improve https://github.com/rustdesk/rustdesk/discussions/5631#discussioncomment-8916273
2024-03-27 00:38:13 +08:00
rustdesk
81aec8402b
Temp solution for https://github.com/rustdesk/rustdesk/discussions/5631
2024-03-26 22:31:58 +08:00
rustdesk
9ad240951e
fix uni link when mac service started, by use
...
applicationShouldOpenUntitledFile delegate
2024-03-26 14:11:02 +08:00
rustdesk
d36e33a7cf
rustdesk -> RustDesk in agent/daemon process since in App, the exe is
...
RustDesk rather than lowercase
2024-03-25 21:18:45 +08:00
fufesou
e3420fd563
Refact. Linux, x11, user --server ( #7400 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-03-15 22:18:14 +08:00
rustdesk
fc875f7ad6
more on custom client
2024-03-12 21:47:29 +08:00
21pages
dd44bb2a0c
flutter windows main.cpp get app name from rust ( #7316 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-03-06 17:57:05 +08:00
21pages
1d9b1781d4
update runas to 1.2.0 ( #7271 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-02-27 15:42:35 +08:00
rustdesk
6720bb9f6b
fix ci
2024-02-26 19:01:42 +08:00
21pages
2920e33d71
fix is_physical_console_session ( #7266 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-02-26 13:34:26 +08:00