fix: Blocklist path corrected to ~/Library/PluginBridge/ (where JUCE actually writes)"
Browse files
Source/Plugin/Blocklist.h
CHANGED
|
@@ -3,8 +3,9 @@
|
|
| 3 |
#include <juce_core/juce_core.h>
|
| 4 |
#include <set>
|
| 5 |
|
| 6 |
-
//
|
| 7 |
-
// Saved to ~/Library/
|
|
|
|
| 8 |
|
| 9 |
class Blocklist
|
| 10 |
{
|
|
@@ -36,6 +37,7 @@ private:
|
|
| 36 |
|
| 37 |
juce::File getBlocklistFile() const
|
| 38 |
{
|
|
|
|
| 39 |
auto dir = juce::File::getSpecialLocation(juce::File::userApplicationDataDirectory)
|
| 40 |
.getChildFile("PluginBridge");
|
| 41 |
dir.createDirectory();
|
|
|
|
| 3 |
#include <juce_core/juce_core.h>
|
| 4 |
#include <set>
|
| 5 |
|
| 6 |
+
// Persistent blocklist — stores plugin paths that crashed on load.
|
| 7 |
+
// Saved to ~/Library/PluginBridge/blocklist.txt
|
| 8 |
+
// (JUCE's userApplicationDataDirectory on macOS = ~/Library/)
|
| 9 |
|
| 10 |
class Blocklist
|
| 11 |
{
|
|
|
|
| 37 |
|
| 38 |
juce::File getBlocklistFile() const
|
| 39 |
{
|
| 40 |
+
// userApplicationDataDirectory on macOS = ~/Library/
|
| 41 |
auto dir = juce::File::getSpecialLocation(juce::File::userApplicationDataDirectory)
|
| 42 |
.getChildFile("PluginBridge");
|
| 43 |
dir.createDirectory();
|