Skip to content

Commit

Permalink
update proton
Browse files Browse the repository at this point in the history
  • Loading branch information
gOOvER committed Mar 27, 2024
1 parent b0a0857 commit 64caa12
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions steam/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ echo -e "${GREEN}Starting Server.... Please wait...${NC}"
echo -e "${BLUE}----------------------------------------------------------------------------------${NC}"

# List and install other packages
for trick in $PROTONTRICKS_RUN; do
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Installing: ${NC} ${GREEN} $trick ${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
flatpak run com.github.Matoking.protontricks ${SRCDS_APPID} $trick
done
#for trick in $PROTONTRICKS_RUN; do
# echo -e "${BLUE}---------------------------------------------------------------------${NC}"
# echo -e "${YELLOW}Installing: ${NC} ${GREEN} $trick ${NC}"
# echo -e "${BLUE}---------------------------------------------------------------------${NC}"
# flatpak run com.github.Matoking.protontricks ${SRCDS_APPID} $trick
#done

# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
Expand Down
14 changes: 7 additions & 7 deletions steam/proton/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Wi
RUN wget -q -O /usr/share/bash-completion/completions/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion

# add flatpak repo and Install Protontricks
RUN flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
RUN flatpak -y install flathub com.github.Matoking.protontricks
RUN echo "alias protontricks='flatpak run com.github.Matoking.protontricks'" >> ~/.bashrc
RUN echo "alias protontricks-launch='flatpak run --command=protontricks-launch com.github.Matoking.protontricks'" >> ~/.bashrc
#RUN flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
#RUN flatpak -y install flathub com.github.Matoking.protontricks
#RUN echo "alias protontricks='flatpak run com.github.Matoking.protontricks'" >> ~/.bashrc
#RUN echo "alias protontricks-launch='flatpak run --command=protontricks-launch com.github.Matoking.protontricks'" >> ~/.bashrc

# Install Protontricks
RUN pipx install protontricks
RUN pipx ensurepath
RUN ln -s /root/.local/bin/protontricks /usr/sbin/protontricks
#RUN pipx install protontricks
#RUN pipx ensurepath
#RUN ln -s /root/.local/bin/protontricks /usr/sbin/protontricks
# Debug
#RUN find -name "protontricks"

Expand Down

0 comments on commit 64caa12

Please sign in to comment.