mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a bug in the projucer that would create incorrect post build scripts for AAX in certain situations
This commit is contained in:
parent
288e56de83
commit
eac52c9faf
1 changed files with 5 additions and 2 deletions
|
|
@ -194,17 +194,20 @@ private:
|
|||
if (config->getValue(Ids::postbuildCommand).toString().isEmpty())
|
||||
{
|
||||
const String previousBuildCommands = config->getValue (Ids::internalPostBuildComamnd).toString();
|
||||
const String aaxSDKPath = File::isAbsolutePath(aaxPath.toString())
|
||||
? aaxPath.toString()
|
||||
: String ("..\\..\\") + aaxPath.toString();
|
||||
|
||||
const bool is64Bit = (config->getValue (Ids::winArchitecture) == "x64");
|
||||
const String bundleDir = "$(OutDir)$(TargetName).aaxplugin";
|
||||
const String bundleContents = bundleDir + "\\Contents";
|
||||
const String macOSDir = bundleContents + String ("\\") + (is64Bit ? "x64" : "Win32");
|
||||
const String executable = macOSDir + String ("\\$(TargetName).aaxplugin");
|
||||
const String bundleScript = aaxPath.toString() + String ("\\Utilities\\CreatePackage.bat");
|
||||
const String bundleScript = aaxSDKPath + String ("\\Utilities\\CreatePackage.bat");
|
||||
String iconFilePath = getTargetFolder().getChildFile ("icon.ico").getFullPathName();
|
||||
|
||||
if (! File (iconFilePath).existsAsFile())
|
||||
iconFilePath = aaxPath.toString() + String ("\\Utilities\\PlugIn.ico");
|
||||
iconFilePath = aaxSDKPath + String ("\\Utilities\\PlugIn.ico");
|
||||
|
||||
String script;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue