From 642636eee7b2a1ac8d979bc8da28ecf2d865348d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=9D=A6=E7=B1=B3?= Date: Wed, 14 Oct 2020 00:37:42 +0800 Subject: [PATCH] Revert "Add support for Unix-style path separators" (#3220) Reverts commit 9eaed6856cf6f29f97ab6fbb036bf9821ded408f close #3180 --- Wox/ViewModel/MainViewModel.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Wox/ViewModel/MainViewModel.cs b/Wox/ViewModel/MainViewModel.cs index 2483344b3..d498c7c11 100644 --- a/Wox/ViewModel/MainViewModel.cs +++ b/Wox/ViewModel/MainViewModel.cs @@ -446,8 +446,7 @@ private void QueryResults() ProgressBarVisibility = Visibility.Hidden; - // support unix-style path separators - var queryText = QueryText.Trim().Replace("/", "\\"); + var queryText = QueryText.Trim(); Task.Run(() => { if (!string.IsNullOrEmpty(queryText))