From 9fab31bad95118d1d7e50c3d20900afdb9516263 Mon Sep 17 00:00:00 2001 From: Webber Takken Date: Tue, 20 Oct 2020 19:20:15 +0200 Subject: [PATCH] Update readme (#32) * update readme to reflect new alias * Also remove too generic binary alias for "hub" --- editor/README.md | 2 +- hub/Dockerfile | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/editor/README.md b/editor/README.md index 86d65adb..12be4097 100644 --- a/editor/README.md +++ b/editor/README.md @@ -15,7 +15,7 @@ docker run -it --rm unity-ci/editor bash Run the editor ```bash -unity help +unity-editor help ``` ## License diff --git a/hub/Dockerfile b/hub/Dockerfile index 9f816e60..d91fd616 100644 --- a/hub/Dockerfile +++ b/hub/Dockerfile @@ -16,10 +16,9 @@ RUN wget --no-verbose -O /tmp/UnityHub.AppImage "https://public-cdn.cloud.unity3 && mkdir -p "$UNITY_PATH" \ && mv /AppRun /opt/unity/UnityHub -# Alias to "unity-hub" or simply "hub" with default params +# Alias to "unity-hub" with default params RUN echo '#!/bin/bash\nxvfb-run -ae /dev/stdout /opt/unity/UnityHub --no-sandbox --headless "$@"' > /usr/bin/unity-hub \ - && chmod +x /usr/bin/unity-hub \ - && ln -s /usr/bin/unity-hub /usr/bin/hub + && chmod +x /usr/bin/unity-hub # Accept RUN mkdir -p "/root/.config/Unity Hub" \