Răsfoiți Sursa

Merge pull request #35 from tastymorsel/master

Attempt to fix an issue where polybuild can't find the config file on MacOS
Ivan Safrin 14 ani în urmă
părinte
comite
3bb0f5be08
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      Tools/Contents/polybuild/Source/polybuild.cpp

+ 2 - 0
Tools/Contents/polybuild/Source/polybuild.cpp

@@ -220,9 +220,11 @@ int main(int argc, char **argv) {
 #endif
 #endif
 	}
 	}
 
 
+#ifdef _WINDOWS
 	finalPath = finalPath.replace(":", "");
 	finalPath = finalPath.replace(":", "");
 	finalPath = finalPath.replace("\\", "/");
 	finalPath = finalPath.replace("\\", "/");
 	finalPath = finalPath.substr(1, finalPath.length() - 1);
 	finalPath = finalPath.substr(1, finalPath.length() - 1);
+#endif
 
 
 	printf("Reading config file from %s\n", finalPath.c_str());
 	printf("Reading config file from %s\n", finalPath.c_str());