File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
- #define PG_VERSION " 46 "
3
+ #define PG_VERSION " 47 "
4
4
5
5
#include " ofAddon.h"
6
6
#include " pugixml.hpp"
Original file line number Diff line number Diff line change @@ -799,8 +799,8 @@ bool xcodeProject::saveProjectFile(){
799
799
800
800
// debugCommands = true;
801
801
802
- addCommand (" # ---- PG VERSION " + getPGVersion ());
803
- addCommand (" Add :a_OFProjectGeneratorVersion string " + getPGVersion ());
802
+ // addCommand("# ---- PG VERSION " + getPGVersion());
803
+ // addCommand("Add :a_OFProjectGeneratorVersion string " + getPGVersion());
804
804
805
805
fileProperties fp;
806
806
// fp.isGroupWithoutFolder = true;
@@ -838,6 +838,9 @@ bool xcodeProject::saveProjectFile(){
838
838
json j { json::parse (contents) };
839
839
contents.close ();
840
840
841
+ j[" _OFProjectGeneratorVersion" ] = getPGVersion ();
842
+
843
+
841
844
for (auto & c : commands) {
842
845
// readable comments enabled now.
843
846
if (c != " " && c[0 ] != ' #' ) {
@@ -881,6 +884,7 @@ bool xcodeProject::saveProjectFile(){
881
884
}
882
885
}
883
886
887
+
884
888
std::ofstream jsonFile (fileName);
885
889
try {
886
890
jsonFile << j.dump (1 , ' ' );
You can’t perform that action at this time.
0 commit comments