Skip to content

Commit 30fdca1

Browse files
committed
자동화 스크립트 업데이트
* -accept-apiupdate 추가 * 유니티 6000.0.36f1 사용
1 parent 8e4653b commit 30fdca1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

update.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Path to Unity Editor executable
4-
UNITY_EDITOR_PATH="/Applications/Unity/Hub/Editor/6000.0.0f1/Unity.app/Contents/MacOS/Unity"
4+
UNITY_EDITOR_PATH="/Applications/Unity/Hub/Editor/6000.0.36f1/Unity.app/Contents/MacOS/Unity"
55

66
# Ask the user for the folder containing Unity projects
77
read -p "Enter the path to the folder containing Unity projects: " PROJECTS_PATH
@@ -53,7 +53,7 @@ for UNITY_PROJECT_DIR in "${UNITY_PROJECTS[@]}"; do
5353
cp "$PROJECTS_PATH/ForceReserializeAssets.cs" "$EDITOR_PATH/ForceReserializeAssets.cs"
5454

5555
# Run Unity in batch mode and execute ForceReserializeAssets.Reserialize method
56-
"$UNITY_EDITOR_PATH" -batchmode -quit -executeMethod ForceReserializeAssets.Reserialize -projectPath "$UNITY_PROJECT_DIR"
56+
"$UNITY_EDITOR_PATH" -batchmode -quit -executeMethod -accept-apiupdate ForceReserializeAssets.Reserialize -projectPath "$UNITY_PROJECT_DIR"
5757

5858
# Remove the copied script and its meta file
5959
rm "$EDITOR_PATH/ForceReserializeAssets.cs"

0 commit comments

Comments
 (0)