mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 22:52:42 +01:00
fix: mods downloading too fast
This commit is contained in:
1 parent
5fa8498c56
commit
ffe3dac3a8
1 file changed
+3
@@ -1626,6 +1626,9 @@ concat_mods(){
|
|||||||
local encoded_id
|
local encoded_id
|
||||||
local link
|
local link
|
||||||
for i in "${concat_arr[@]}"; do
|
for i in "${concat_arr[@]}"; do
|
||||||
|
until [[ -f $workshop_dir/$i/meta.cpp ]]; do
|
||||||
|
sleep 0.1s
|
||||||
|
done
|
||||||
id=$(awk -F"= " '/publishedid/ {print $2}' "$workshop_dir"/$i/meta.cpp | awk -F\; '{print $1}')
|
id=$(awk -F"= " '/publishedid/ {print $2}' "$workshop_dir"/$i/meta.cpp | awk -F\; '{print $1}')
|
||||||
encoded_id=$(encode $id)
|
encoded_id=$(encode $id)
|
||||||
link="@$encoded_id;"
|
link="@$encoded_id;"
|
||||||
|
|||||||
Reference in new issue
Block a user