Browse Source

Projucer: Fixed a bug in exporter tilda expansion

tags/2021-05-28
tpoole hogliux 7 years ago
parent
commit
7a3e412cf2
2 changed files with 1 additions and 6 deletions
  1. +1
    -1
      extras/Projucer/Source/Project Saving/jucer_ProjectExport_XCode.h
  2. +0
    -5
      extras/Projucer/Source/Project Saving/jucer_ProjectExporter.cpp

+ 1
- 1
extras/Projucer/Source/Project Saving/jucer_ProjectExport_XCode.h 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);


+ 0
- 5
extras/Projucer/Source/Project Saving/jucer_ProjectExporter.cpp 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);
}


Loading…
Cancel
Save