We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efb220e commit ce27effCopy full SHA for ce27eff
WslToolbox.UI.Core/Helpers/Toolbox.cs
@@ -36,11 +36,20 @@ public static AppTypes GetAppType()
36
public static void CopyOldConfiguration()
37
{
38
var oldDirectory = Path.Combine(AppInstallDir, "data");
39
+ var newDirectory = AppDirectory;
40
if (!Directory.Exists(oldDirectory))
41
42
return;
43
}
44
45
+ if (File.Exists(Toolbox.UserConfiguration))
46
+ {
47
+ Log.Logger.Information("User configuration already exist");
48
+
49
+ return;
50
+ }
51
52
53
try
54
55
DirectoryHelper.CopyDirectory(oldDirectory, AppDirectory, true);
0 commit comments