commit ea4e1c524789078292287ae29ae098250c373dbe
parent 6d4121474993d6130afb9b12b582bd76fa56f3bc
Author: Keith Bloemer <[email protected]>
Date: Fri, 18 Jun 2021 09:07:44 -0500
Update PluginProcessor.h
Updated to use user's Documents directory for json files
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Source/PluginProcessor.h b/Source/PluginProcessor.h
@@ -98,7 +98,7 @@ public:
void resetDirectory(const File& file);
std::vector<File> jsonFiles;
File currentDirectory = File::getCurrentWorkingDirectory().getFullPathName();
- File userAppDataDirectory = File::getSpecialLocation(File::userApplicationDataDirectory).getChildFile(JucePlugin_Manufacturer).getChildFile(JucePlugin_Name);
+ File userAppDataDirectory = File::getSpecialLocation(File::userDocumentsDirectory).getChildFile(JucePlugin_Manufacturer).getChildFile(JucePlugin_Name);
File userAppDataDirectory_tones = userAppDataDirectory.getFullPathName() + "/tones";
// Pedal/amp states