test logging

This commit is contained in:
2025-06-27 23:23:25 -07:00
parent 8d72404721
commit 91278c9a86
3 changed files with 8 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/bash
SERIAL=$1; EMAIL=$2; PASSWORD=$3; COMMAND=$4; UNITY_BUILDER=$5
SERIAL=$1; EMAIL=$2; PASSWORD=$3; COMMAND=$4; UNITY_BUILDER=$5
DEFAULT_ARGS="-quit -logFile -"
rm -rf $HOME/.config/unity3d
@@ -17,8 +17,12 @@ fi
echo "::group::Running Unity Command"
#Run the command.
if [[ -n "$UNITY_BUILDER" ]]; then
echo "Using UnityBuilder to run the command:"
echo " UnityBuilder $COMMAND"
UnityBuilder $COMMAND
else
echo "Using unity-editor to run the command:"
echo " unity-editor $DEFAULT_ARGS $COMMAND"
unity-editor $DEFAULT_ARGS $COMMAND
fi
echo "::endgroup::"