feat(server): Rename /netris/proton to netris-proton (#61)

## Description

**What issue are you solving (or what feature are you adding) and how
are you doing it?**

With help from @djpremier, rename `/usr/bin/netris/proton` as "the
script cannot be found in bash `(eg.: $ proton -r /games/AlanWake.exe)`
if it is in the subdirectory of /usr/bin, probably because it is found
in a subdir inside `/usr/bin` "
This commit is contained in:
Wanjohi
2024-05-25 00:02:36 +03:00
committed by GitHub
parent df332b66bc
commit ea157b4898
2 changed files with 5 additions and 3 deletions

View File

@@ -60,6 +60,9 @@ sudo ln -snf /dev/ptmx /dev/tty7
# Start DBus without systemd # Start DBus without systemd
sudo /etc/init.d/dbus start sudo /etc/init.d/dbus start
# Install Proton-GE for this user
netris-proton -i
# Install NVIDIA userspace driver components including X graphic libraries # Install NVIDIA userspace driver components including X graphic libraries
if ! command -v nvidia-xconfig &>/dev/null; then if ! command -v nvidia-xconfig &>/dev/null; then
# Driver version is provided by the kernel through the container toolkit # Driver version is provided by the kernel through the container toolkit

View File

@@ -32,9 +32,8 @@ RUN mkdir -pm755 /etc/apt/keyrings && curl -fsSL -o /etc/apt/keyrings/winehq-arc
&& curl -fsSL -o /usr/share/bash-completion/completions/winetricks "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion" && curl -fsSL -o /usr/share/bash-completion/completions/winetricks "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion"
#Install Proton #Install Proton
COPY .scripts/proton /usr/bin/netris/ COPY .scripts/proton /usr/bin/netris-proton
RUN chmod +x /usr/bin/netris/proton \ RUN chmod 755 /usr/bin/netris-proton
&& /usr/bin/netris/proton -i
ARG USERNAME=netris \ ARG USERNAME=netris \
PUID=1000 \ PUID=1000 \