diff --git a/Source/StartupPopup.cs b/Source/StartupPopup.cs index e2a693c1..17d05e68 100644 --- a/Source/StartupPopup.cs +++ b/Source/StartupPopup.cs @@ -41,6 +41,10 @@ public void Start() private static void RememberPreference() { + FileInfo fi = new FileInfo(PreferenceFilePath); + if (!Directory.Exists(fi.Directory.FullName)) + Directory.CreateDirectory(fi.Directory.FullName); + // create empty file File.Create(PreferenceFilePath).Close(); }