[chronojump/michrolab] Fixed Import compressed -o (was failing on Windows)



commit 3166e71448aaf4faf122fc39002c20c61eb00831
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Oct 4 14:23:16 2022 +0200

    Fixed Import compressed -o (was failing on Windows)

 src/gui/app1/session/loadAndImport.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gui/app1/session/loadAndImport.cs b/src/gui/app1/session/loadAndImport.cs
index bc9b90d1a..f2663ec6b 100644
--- a/src/gui/app1/session/loadAndImport.cs
+++ b/src/gui/app1/session/loadAndImport.cs
@@ -392,7 +392,7 @@ public partial class ChronoJumpWindow
                                //parameters.Add ("e");
                                parameters.Add ("x"); //we need the parent folder
                                parameters.Add ("-aoa"); //Overwrite All existing files without prompt.
-                               parameters.Add ("-o" + Path.DirectorySeparatorChar + UtilAll.GetTempDir ());
+                               parameters.Add ("-o" + UtilAll.GetTempDir ());
                                parameters.Add (filechooser.Filename);
 
                                string executable = "7z";


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]