Add auth file

This commit is contained in:
Uggla
2015-05-08 17:47:40 +02:00
parent a691d78510
commit 1125c5b796
2 changed files with 14 additions and 3 deletions
+3 -3
View File
@@ -26,6 +26,6 @@ wget http://nanodesu.info/stuff/pa/mods/NodePAMaster.zip && \
wget https://dl.dropboxusercontent.com/u/28565393/Planetary%20Annihilation/colours/color_table.js wget https://dl.dropboxusercontent.com/u/28565393/Planetary%20Annihilation/colours/color_table.js
RUN chmod +x /home/pa/auth_papatcher.sh && \ RUN chmod +x /home/pa/auth_papatcher.sh && \
chmod +x /home/pa/papatcher.go && \ chmod +x /home/pa/papatcher.go && \
unzip /home/pa/NodePAMaster.zip unzip /home/pa/NodePAMaster.zip && \
#/home/pa/auth_papatcher.sh && \ /home/pa/auth_papatcher.sh && \
#cp color_table.js ./.local/Uber\ Entertainment/Planetary\ Annihilation/stable/media/server-script/lobby/color_table.js && \ cp color_table.js ./.local/Uber\ Entertainment/Planetary\ Annihilation/stable/media/server-script/lobby/color_table.js
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
# Provide credentials to papatcher
# Enter your pa credentials below
PA_USER="pauser"
PA_PASSWORD="papassword"
(echo "$PA_USER"; sleep 1s; echo $PA_PASSWORD) | go run papatcher.go
echo "Do not care of previous error message !"
exit 0