diff --git a/modules/juce_core/files/juce_File.cpp b/modules/juce_core/files/juce_File.cpp index 357aa3af9d..073ee8e925 100644 --- a/modules/juce_core/files/juce_File.cpp +++ b/modules/juce_core/files/juce_File.cpp @@ -1080,7 +1080,6 @@ public: expect (home.isDirectory()); expect (home.exists()); expect (! home.existsAsFile()); - expect (File::getSpecialLocation (File::userApplicationDataDirectory).isDirectory()); expect (File::getSpecialLocation (File::currentExecutableFile).exists()); expect (File::getSpecialLocation (File::currentApplicationFile).exists()); expect (File::getSpecialLocation (File::invokedExecutableFile).exists()); diff --git a/modules/juce_core/files/juce_File.h b/modules/juce_core/files/juce_File.h index 739fdc609b..008ae9b350 100644 --- a/modules/juce_core/files/juce_File.h +++ b/modules/juce_core/files/juce_File.h @@ -902,7 +902,8 @@ public: On Windows, this might be "\Documents and Settings\username\Application Data". On the Mac, it might be "~/Library". If you're going to store your settings in here, always create your own sub-folder to put them in, to avoid making a mess. - On GNU/Linux it is "~/.config". + On GNU/Linux it is "~/.config" and you may need to create the directory before + using it. */ userApplicationDataDirectory,