1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-07 04:10:08 +00:00

Projucer: Fixed a bug in exporter tilda expansion

This commit is contained in:
tpoole 2017-07-31 09:34:09 +01:00 committed by hogliux
parent 969bd87599
commit 7a3e412cf2
2 changed files with 1 additions and 6 deletions

View file

@ -2253,7 +2253,7 @@ private:
v->setProperty ("isa", "PBXFileReference", nullptr);
v->setProperty ("lastKnownFileType", fileType, nullptr);
v->setProperty (Ids::name, pathString.fromLastOccurrenceOf ("/", false, false), nullptr);
v->setProperty ("path", sanitisePath (pathString), nullptr);
v->setProperty ("path", pathString, nullptr);
v->setProperty ("sourceTree", sourceTree, nullptr);
const int existing = pbxFileReferences.indexOfSorted (*this, v);

View file

@ -547,11 +547,6 @@ RelativePath ProjectExporter::getModuleFolderRelativeToProject (const String& mo
if (path.isEmpty())
return getLegacyModulePath (moduleID).getChildFile (moduleID);
#if ! JUCE_WINDOWS
if (path.startsWith ("~"))
path = File::getSpecialLocation (File::userHomeDirectory).getChildFile (path.trimCharactersAtStart ("~/")).getFullPathName();
#endif
return RelativePath (path, RelativePath::projectFolder).getChildFile (moduleID);
}