File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ private bool TryLaunchAsFileHistoryViewer(IClassicDesktopStyleApplicationLifetim
355355 Models . AvatarManager . Instance . Start ( ) ;
356356
357357 var repo = test . StdOut . Trim ( ) ;
358- var relativePath = Path . GetRelativePath ( repo , fullPath ) ;
358+ var relativePath = Path . GetRelativePath ( repo , fullPath ) . Replace ( ' \\ ' , '/' ) ;
359359 if ( File . Exists ( fullPath ) )
360360 {
361361 desktop . MainWindow = new Views . FileHistories ( )
@@ -367,7 +367,7 @@ private bool TryLaunchAsFileHistoryViewer(IClassicDesktopStyleApplicationLifetim
367367 {
368368 desktop . MainWindow = new Views . DirHistories ( )
369369 {
370- DataContext = new ViewModels . DirHistories ( repo , relativePath . TrimEnd ( '/' , ' \\ ' ) )
370+ DataContext = new ViewModels . DirHistories ( repo , relativePath . TrimEnd ( '/' ) )
371371 } ;
372372 }
373373 else
You can’t perform that action at this time.
0 commit comments