Skip to content

Commit e442828

Browse files
authored
Merge pull request #80 from Unity-Technologies/UNI-21290-document-package-uninstall
UNI-21290 add line to remove old package to readme
2 parents e391005 + fd8d247 commit e442828

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ if test `uname -s` = 'Darwin' ; then
3434
else
3535
UNITY_EDITOR_PATH=/opt/Unity/Editor/Unity/Unity
3636
fi
37+
rm -rf "${PROJECT_PATH}/Assets/FbxSdk"
3738
"${UNITY_EDITOR_PATH}" -projectPath "${PROJECT_PATH}" -importPackage "${FBXSDK_PACKAGE_PATH}" -quit
3839
"${UNITY_EDITOR_PATH}" -batchmode -projectPath "${PROJECT_PATH}" -exportPackage Assets/FbxExporters Assets/FbxSdk Assets/Integrations "${PROJECT_PATH}/FbxExporters_${PACKAGE_VERSION}.unitypackage" -quit
3940
```
@@ -50,6 +51,7 @@ set PACKAGE_NAME=FbxExporters
5051
set PACKAGE_VERSION=0.0.5a
5152
set FBXSDK_PACKAGE_PATH=/path/to/FbxSdk.unitypackage
5253
54+
rmdir /s "%PROJECT_PATH%/Assets/FbxSdk"
5355
%UNITY3D_PATH% -projectPath "%PROJECT_PATH%" -importPackage %FBXSDK_PACKAGE_PATH% -quit
5456
%UNITY3D_PATH% -batchmode -projectPath "%PROJECT_PATH%" -exportPackage Assets/FbxExporters Assets/FbxSdk Assets/Integrations %PROJECT_PATH%/%PACKAGE_NAME%_%PACKAGE_VERSION%.unitypackage -quit
5557
```

0 commit comments

Comments
 (0)