init sync file clipboard, local to remote

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-07-31 21:40:55 +08:00
parent 433059f8a0
commit 4009fd77e8
4 changed files with 66 additions and 24 deletions

View File

@@ -412,7 +412,7 @@ impl<T: InvokeUiSession> Session<T> {
pub fn get_path_sep(&self, is_remote: bool) -> &'static str {
let p = self.get_platform(is_remote);
if &p == "Windows" {
if &p == crate::platform::PLATFORM_WINDOWS {
return "\\";
} else {
return "/";