mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 00:36:14 +00:00
fix: linux <- windows subfolder collepsed
This commit is contained in:
1 parent
b267da2e70
commit
c4663ecbf3
3 files changed
+20
-5
No files matched your search
+7
-1
@@ -2019,7 +2019,13 @@ impl Remote {
|
||||
Some(message::Union::file_response(fr)) => {
|
||||
match fr.union {
|
||||
Some(file_response::Union::dir(fd)) => {
|
||||
let entries = fd.entries.to_vec();
|
||||
let mut entries = fd.entries.to_vec();
|
||||
#[cfg(not(windows))]
|
||||
{
|
||||
if self.handler.peer_platform() == "Windows" {
|
||||
fs::transform_windows_path(&mut entries);
|
||||
}
|
||||
}
|
||||
let mut m = make_fd(fd.id, &entries, fd.id > 0);
|
||||
if fd.id <= 0 {
|
||||
m.set_item("path", fd.path);
|
||||
|
||||
Reference in new issue
Block a user