mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-23 23:18:28 +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(){
|
doInstallMod(){
|
||||||
local modid=$1
|
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
|
if doDownloadMod $modid; then
|
||||||
doExtractMod $modid
|
doExtractMod $modid
|
||||||
echo "Mod $modid installed"
|
echo "Mod $modid installed"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user