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:
parent
969bd87599
commit
7a3e412cf2
2 changed files with 1 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue