Tweaks to mac build
Create unity config dir if it doesnt exist Remove username password from build script on macpull/573/head
parent
851550c505
commit
e20eff800d
|
@ -15,7 +15,8 @@ if [[ -n "$UNITY_LICENSING_SERVER" ]]; then
|
|||
ls
|
||||
popd
|
||||
cat "$ACTION_FOLDER/unity-config/services-config.json"
|
||||
cp "$ACTION_FOLDER//unity-config/services-config.json" "/Library/Application Support/Unity/config/services-config.json"
|
||||
mkdir -p "/Library/Application Support/Unity/config/"
|
||||
cp "$ACTION_FOLDER/unity-config/services-config.json" "/Library/Application Support/Unity/config/services-config.json"
|
||||
/Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/Frameworks/UnityLicensingClient.app/Contents/MacOS/Unity.Licensing.Client --acquire-floating > license.txt #is this accessible in a env variable?
|
||||
cat license.txt
|
||||
PARSEDFILE=$(grep -oE '\".*?\"' < license.txt | tr -d '"')
|
||||
|
|
Loading…
Reference in New Issue