mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Always locally copy PIP files that are created from the clipboard so that they aren't deleted on shutdown
This commit is contained in:
parent
a7b5c1f77f
commit
728d28fdc0
1 changed files with 4 additions and 1 deletions
|
|
@ -112,8 +112,11 @@ PIPGenerator::PIPGenerator (const File& pip, const File& output)
|
|||
isTemp = true;
|
||||
}
|
||||
|
||||
auto isClipboard = (pip.getParentDirectory().getFileName() == "Clipboard"
|
||||
&& pip.getParentDirectory().getParentDirectory().getFileName() == "PIPs");
|
||||
|
||||
outputDirectory = outputDirectory.getChildFile (metadata[Ids::name].toString());
|
||||
useLocalCopy = metadata[Ids::useLocalCopy].toString().isNotEmpty();
|
||||
useLocalCopy = metadata[Ids::useLocalCopy].toString().isNotEmpty() || isClipboard;
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue