diff --git a/dist/install-unityhub-linux.sh b/dist/install-unityhub-linux.sh index 85703f9..4cda7d0 100644 --- a/dist/install-unityhub-linux.sh +++ b/dist/install-unityhub-linux.sh @@ -5,7 +5,7 @@ echo "::group::Installing Unity Hub..." wget -qO - https://hub.unity3d.com/linux/keys/public | gpg --dearmor | sudo tee /usr/share/keyrings/Unity_Technologies_ApS.gpg >/dev/null sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/Unity_Technologies_ApS.gpg] https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list' sudo apt-get update -sudo apt-get install -y --no-install-recommends unityhub +sudo apt-get install -y --no-install-recommends unityhub ffmpeg sudo apt-get clean sudo sed -i 's/^\(.*DISPLAY=:.*XAUTHORITY=.*\)\( "\$@" \)2>&1$/\1\2/' /usr/bin/xvfb-run sudo printf '#!/bin/bash\nxvfb-run --auto-servernum /opt/unityhub/unityhub "$@" 2>/dev/null' | sudo tee /usr/bin/unity-hub >/dev/null diff --git a/package-lock.json b/package-lock.json index 39386b3..95a4268 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "unity-setup", - "version": "1.0.9", + "version": "1.0.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "unity-setup", - "version": "1.0.9", + "version": "1.0.10", "license": "MIT", "dependencies": { "@actions/core": "^1.10.1", diff --git a/package.json b/package.json index 42b309a..2ceed14 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "unity-setup", - "version": "1.0.9", + "version": "1.0.10", "description": "A GitHub action for setting up the Unity Game Engine for CI/CD workflows.", "author": "RageAgainstThePixel", "license": "MIT", diff --git a/src/install-unityhub-linux.sh b/src/install-unityhub-linux.sh index 85703f9..4cda7d0 100644 --- a/src/install-unityhub-linux.sh +++ b/src/install-unityhub-linux.sh @@ -5,7 +5,7 @@ echo "::group::Installing Unity Hub..." wget -qO - https://hub.unity3d.com/linux/keys/public | gpg --dearmor | sudo tee /usr/share/keyrings/Unity_Technologies_ApS.gpg >/dev/null sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/Unity_Technologies_ApS.gpg] https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list' sudo apt-get update -sudo apt-get install -y --no-install-recommends unityhub +sudo apt-get install -y --no-install-recommends unityhub ffmpeg sudo apt-get clean sudo sed -i 's/^\(.*DISPLAY=:.*XAUTHORITY=.*\)\( "\$@" \)2>&1$/\1\2/' /usr/bin/xvfb-run sudo printf '#!/bin/bash\nxvfb-run --auto-servernum /opt/unityhub/unityhub "$@" 2>/dev/null' | sudo tee /usr/bin/unity-hub >/dev/null