Skip to content

Commit

Permalink
Update readme (#32)
Browse files Browse the repository at this point in the history
* update readme to reflect new alias

* Also remove too generic binary alias for "hub"
  • Loading branch information
webbertakken authored Oct 20, 2020
1 parent bd11ab0 commit 9fab31b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ docker run -it --rm unity-ci/editor bash
Run the editor

```bash
unity help
unity-editor help
```

## License
Expand Down
5 changes: 2 additions & 3 deletions hub/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 9fab31b

Please sign in to comment.