Initial work on returning floating license when using licensing server
parent
58e14371bb
commit
e7766e8d01
|
|
@ -14,6 +14,20 @@ if [[ -n "$UNITY_SERIAL" ]]; then
|
|||
-logFile /dev/stdout \
|
||||
-quit \
|
||||
-returnlicense
|
||||
elif [[ -n "$UNITY_LICENSING_SERVER" ]]; then #
|
||||
#
|
||||
# Return any floating license used.
|
||||
#
|
||||
echo "Returning floating licenses"
|
||||
for file in ~/.config/unity3d/Unity/licenses/*.xml; do
|
||||
echo "$file"
|
||||
token=$(basename $file .xml)
|
||||
/opt/unity/Editor/Data/Resources/Licensing/Client/Unity.Licensing.Client --return-floating $token
|
||||
status=$?
|
||||
echo "status $status"
|
||||
echo "Returned $token"
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
# Return to previous working directory
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue