mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 19:08:27 +00:00
Remove mod id from from workshop acf on installmod
This commit is contained in:
parent
e2f8a3e9c5
commit
01edcab4a1
@ -1037,6 +1037,10 @@ doExtractMod(){
|
||||
doInstallMod(){
|
||||
local modid=$1
|
||||
|
||||
if [ -f "$steamcmdroot/steamapps/workshop/appworkshop_${mod_appid}.acf" ]; then
|
||||
sed -i "/^\\t\\t\"${modid}\"/,/^\\t\\t}/d" "$steamcmdroot/steamapps/workshop/appworkshop_${mod_appid}.acf"
|
||||
fi
|
||||
|
||||
if doDownloadMod $modid; then
|
||||
doExtractMod $modid
|
||||
echo "Mod $modid installed"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user