mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
Only randomize uuid for personal activation
This commit is contained in:
parent
96cfb845ae
commit
58338a2617
7
dist/platforms/ubuntu/entrypoint.sh
vendored
7
dist/platforms/ubuntu/entrypoint.sh
vendored
@ -1,7 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Ensure machine ID is randomized
|
||||
dbus-uuidgen > /etc/machine-id && mkdir -p /var/lib/dbus/ && ln -sf /etc/machine-id /var/lib/dbus/machine-id
|
||||
# Ensure machine ID is randomized for personal license activation
|
||||
if [[ "$UNITY_SERIAL" = F* ]]; then
|
||||
echo "Randomizing machine ID for personal license activation"
|
||||
dbus-uuidgen > /etc/machine-id && mkdir -p /var/lib/dbus/ && ln -sf /etc/machine-id /var/lib/dbus/machine-id
|
||||
fi
|
||||
|
||||
#
|
||||
# Prepare Android SDK, if needed
|
||||
|
Loading…
Reference in New Issue
Block a user