1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Changed the linux version of the introjucer to store its config and log files in ~/.config

This commit is contained in:
jules 2013-05-05 13:15:05 +01:00
parent 939893922b
commit ffc9200ea7
2 changed files with 8 additions and 4 deletions

View file

@ -82,9 +82,9 @@ File PropertiesFile::Options::getDefaultFile() const
dir = dir.getChildFile (folderName);
#elif JUCE_LINUX || JUCE_ANDROID
const File dir ((commonToAllUsers ? "/var/" : "~/")
+ (folderName.isNotEmpty() ? folderName
: ("." + applicationName)));
const File dir (File (commonToAllUsers ? "/var" : "~")
.getChildFile (folderName.isNotEmpty() ? folderName
: ("." + applicationName)));
#elif JUCE_WINDOWS
File dir (File::getSpecialLocation (commonToAllUsers ? File::commonApplicationDataDirectory