mirror of
https://github.com/aclist/dztui.git
synced 2025-09-07 22:22:27 +02:00
feat: auto mod install
This commit is contained in:
parent
f3c67f08ac
commit
4e2c2ea571
3 changed files with 8 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
set -o pipefail
|
||||
version=5.2.0-rc.2
|
||||
version=5.2.0-rc.3
|
||||
|
||||
#CONSTANTS
|
||||
aid=221100
|
||||
|
@ -1031,7 +1031,7 @@ try_connect(){
|
|||
fi
|
||||
case $auto_install in
|
||||
"") manual_mod_install "$ip" "$gameport" "$diff" "$sanitized_mods";;
|
||||
1|2) auto_mod_install "$ip" "$gameport" "$diff" "$sanitized_mods" ;;
|
||||
1|2) manual_mod_install "$ip" "$gameport" "$diff" "$sanitized_mods" ;;
|
||||
esac
|
||||
else
|
||||
launch "$ip" "$gameport" "$sanitized_mods"
|
||||
|
@ -1289,8 +1289,8 @@ manual_mod_install(){
|
|||
[[ -f $ex ]] && return 1
|
||||
log ${stage_mods[$i]}
|
||||
|
||||
$steam_cmd "steam://url/CommunityFilePage/${stage_mods[$i]}"
|
||||
echo "# Opening workshop page for ${stage_mods[$i]}. If you see no progress after subscribing, try unsubscribing and resubscribing again until the download commences."
|
||||
$steam_cmd "steam://url/CommunityFilePage/${stage_mods[$i]}+workshop_download_item 221100 ${stage_mods[$i]}"
|
||||
echo "# Opening workshop page for ${stage_mods[$i]}"
|
||||
sleep 1s
|
||||
foreground
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ locale.setlocale(locale.LC_ALL, '')
|
|||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, GLib, Gdk, GObject, Pango
|
||||
|
||||
# 5.2.0.rc-2
|
||||
# 5.2.0.rc-3
|
||||
app_name = "DZGUI"
|
||||
|
||||
cache = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue