File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11#pragma once
22
3- #define PG_VERSION " 46 "
3+ #define PG_VERSION " 47 "
44
55#include " ofAddon.h"
66#include " pugixml.hpp"
Original file line number Diff line number Diff line change @@ -799,8 +799,8 @@ bool xcodeProject::saveProjectFile(){
799799
800800// debugCommands = true;
801801
802- addCommand (" # ---- PG VERSION " + getPGVersion ());
803- addCommand (" Add :a_OFProjectGeneratorVersion string " + getPGVersion ());
802+ // addCommand("# ---- PG VERSION " + getPGVersion());
803+ // addCommand("Add :a_OFProjectGeneratorVersion string " + getPGVersion());
804804
805805 fileProperties fp;
806806// fp.isGroupWithoutFolder = true;
@@ -838,6 +838,9 @@ bool xcodeProject::saveProjectFile(){
838838 json j { json::parse (contents) };
839839 contents.close ();
840840
841+ j[" _OFProjectGeneratorVersion" ] = getPGVersion ();
842+
843+
841844 for (auto & c : commands) {
842845 // readable comments enabled now.
843846 if (c != " " && c[0 ] != ' #' ) {
@@ -881,6 +884,7 @@ bool xcodeProject::saveProjectFile(){
881884 }
882885 }
883886
887+
884888 std::ofstream jsonFile (fileName);
885889 try {
886890 jsonFile << j.dump (1 , ' ' );
You can’t perform that action at this time.
0 commit comments