Commit Graph

9 Commits

Author SHA1 Message Date
21pages
abaa7adfa8 run ci tests
Signed-off-by: 21pages <pages21@163.com>
2023-05-18 09:57:00 +08:00
Guido Falsi
1b899a5ce8 Add test for host and name extraction from filename. 2023-04-29 12:40:59 +02:00
Guido Falsi
5a25573125 Reimplement code extracting information from file name.
This code tokenizes the file name based on commas and extracts
relevant parts sequentially.

`host=` is expected to be the first part.

Since Windows renames files adding (1), (2) etc. before the .exe
in case of duplicates, which causes the host or key values to be
garbled.

This allows using a `,` (comma) symbol as a final delimiter.

Fixes #4162
2023-04-29 12:40:59 +02:00
RustDesk
9cc09c620f
fix #4163 2023-04-23 07:33:03 +08:00
Guido Falsi
bdb590834e Skip anything after an # symbol in the filename.
Windows renames files adding (1), (2) etc. before the .exe in case
of duplicates, which causes the host or key values to be garbled.

This allows to protect from this adding a final "#" symbol to the
filename.
2023-04-20 12:52:31 +02:00
rustdesk
61679a1072 upgrade some crates, fix scrap benchmark on mac, fix compile issue on
osx10.14
2023-03-09 17:22:14 +08:00
rustdesk
bc4d727ffd fix naming 2022-05-14 17:02:31 +08:00
rustdesk
750a800c08 new naming to support plain config 2022-05-14 17:00:21 +08:00
rustdesk
c1bad84a86 100% open source 2022-05-12 17:35:25 +08:00