mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 14:42:54 +01:00
Drop credential based login
This commit is contained in:
1 parent
a143cc4496
commit
0f36a54722
1 file changed
+1
-2
@@ -23,7 +23,6 @@ debug=0
|
|||||||
#STEAMCMD CONFIG===========
|
#STEAMCMD CONFIG===========
|
||||||
auto_install_mods=1
|
auto_install_mods=1
|
||||||
steamcmd_user="steam"
|
steamcmd_user="steam"
|
||||||
steam_username="STEAMUSER"
|
|
||||||
staging_dir="/tmp"
|
staging_dir="/tmp"
|
||||||
#END STEAMCMD CONFIG=======
|
#END STEAMCMD CONFIG=======
|
||||||
|
|
||||||
@@ -186,7 +185,7 @@ move_files(){
|
|||||||
rm -r "$staging_dir"/steamapps
|
rm -r "$staging_dir"/steamapps
|
||||||
}
|
}
|
||||||
auto_mod_download(){
|
auto_mod_download(){
|
||||||
sudo -iu steam bash -c "$steamcmd_path +force_install_dir $staging_dir +login $steam_username $(steamcmd_modlist) +quit" $steamcmd_user
|
sudo -iu steam bash -c "$steamcmd_path +force_install_dir $staging_dir +login anonymous $(steamcmd_modlist) +quit" $steamcmd_user
|
||||||
[[ "$(ls -A $staging_dir/steamapps)" ]] && move_files || return 1
|
[[ "$(ls -A $staging_dir/steamapps)" ]] && move_files || return 1
|
||||||
}
|
}
|
||||||
find_steam_cmd(){
|
find_steam_cmd(){
|
||||||
|
|||||||
Reference in new issue
Block a user