浏览代码

Polish install for MacOS

/pyrception-integration
leopoldo-zugasti 4 年前
当前提交
51cb9173
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.perception/Editor/Pyrception/PyrceptionInstaller.cs

2
com.unity.perception/Editor/Pyrception/PyrceptionInstaller.cs


ExecuteCMD($"cd \"{packagesPath}\\..\\pyrception-util\" && \"{packagesPath}\"\\pip3.bat install --no-warn-script-location --no-cache-dir -e .", ref ExitCode);
#elif (UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX)
ExecuteCMD($"cd \'{packagesPath}\'; ./python3.7 -m pip install -e \'../pyrception-util/.\'", ref ExitCode);
ExecuteCMD($"\\cp -r \'{pyrceptionPath}\pyrception-utils.py\' \'{packagesPath}\pyrception-utils.py\', ref ExitCode);
ExecuteCMD($"\\cp -r \'{pyrceptionPath}/pyrception-utils.py\' \'{packagesPath}/pyrception-utils.py\'", ref ExitCode);
#endif
if (ExitCode != 0) {
EditorUtility.ClearProgressBar();

正在加载...
取消
保存