浏览代码

change path character for OSX

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

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


virtualenvPath = virtualenvPath.Replace("/", "\\");
ExecuteCMD($"{virtualenvPath}\\virtualenv -p python3 \"{path}\\DataInsightsEnv\"", ref ExitCode);
#elif (UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX)
ExecuteCMD($"{virtualenvPath}\\virtualenv -p python3 \"{path}/DataInsightsEnv\"", ref ExitCode);
ExecuteCMD($"{virtualenvPath}/virtualenv -p python3 \"{path}/DataInsightsEnv\"", ref ExitCode);
#endif
if (ExitCode != 0) {
EditorUtility.ClearProgressBar();

正在加载...
取消
保存