mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
Add "Assets" folder as a custom resource folder in AUv3SynthPlugin example on Mac so that the AUv3 passes auval
This commit is contained in:
parent
f29fa75477
commit
d53171f0e9
1 changed files with 3 additions and 3 deletions
|
|
@ -313,7 +313,7 @@ ValueTree PIPGenerator::createExporterChild (const String& exporterName)
|
|||
|
||||
exporter.setProperty (Ids::targetFolder, "Builds/" + ProjectExporter::getTargetFolderForExporter (exporterName), nullptr);
|
||||
|
||||
if (isMobileExporter (exporterName))
|
||||
if (isMobileExporter (exporterName) || (metadata[Ids::name] == "AUv3SynthPlugin" && exporterName == "XCODE_MAC"))
|
||||
{
|
||||
auto juceDir = getAppSettings().getStoredPath (Ids::jucePath).toString();
|
||||
|
||||
|
|
@ -321,8 +321,8 @@ ValueTree PIPGenerator::createExporterChild (const String& exporterName)
|
|||
{
|
||||
auto assetsDirectoryPath = File (juceDir).getChildFile ("examples").getChildFile ("Assets").getFullPathName();
|
||||
|
||||
exporter.setProperty (exporterName == "XCODE_IPHONE" ? Ids::customXcodeResourceFolders
|
||||
: Ids::androidExtraAssetsFolder,
|
||||
exporter.setProperty (exporterName == "ANDROIDSTUDIO" ? Ids::androidExtraAssetsFolder
|
||||
: Ids::customXcodeResourceFolders,
|
||||
assetsDirectoryPath, nullptr);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue