Skip to content

Commit

Permalink
Update logic in AMMR beta file (#893)
Browse files Browse the repository at this point in the history
  • Loading branch information
melund authored Dec 8, 2023
1 parent fa01792 commit a77a194
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions Body/AAUHuman/BodyModels/GenericBodyModel/ammr-beta.any
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,30 @@ AnyDoc _AMMR_BETA_INFO_ =
{
Hidden = On;
#ifpathexists "../../../../.git"
#ifpathexists "<ANYBODY_PATH_INSTALLDIR>/Python/python.exe"

#ifdef ANYBODY_PATH_PYTHONHOME
#ifpathexists "<ANYBODY_PATH_PYTHONHOME>/python.exe"
#define _READ_GIT_INFO
#endif
#endif

#ifndef _READ_GIT_INFO
#ifpathexists "<ANYBODY_PATH_INSTALLDIR>/Python/python.exe"
#define _READ_GIT_INFO
#endif
#endif

#ifdef _READ_GIT_INFO
#undef _READ_GIT_INFO
AnyFunEx ReadGitInfo = {
AnyString Return = {"",""};
AnyFunExMonoPy git_info = { ModuleFile = "git_info.py"; ArgList = { AnyString gitfolder = "";};};
};
AnyString GitInfo = ReadGitInfo("../../../../.git");

#endif




#endif
};

0 comments on commit a77a194

Please sign in to comment.