Skip to content

Commit

Permalink
Merge pull request #5 from DJWoodZ/add-agi-pack-dlc
Browse files Browse the repository at this point in the history
feat(dlc): install AGI Pack
  • Loading branch information
Toetje585 authored Jan 4, 2024
2 parents e2a7d33 + d501dce commit c02536e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions build/rootfs/opt/fs22/setup_giants.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ else
echo -e "${YELLOW}WARNING: If you do not own it ignore this!${NOCOLOR}"
fi

if [ -f /opt/fs22/dlc/FarmingSimulator22_agiPack_*.exe ]; then
echo -e "${GREEN}INFO: AGI Pack SETUP FOUND!${NOCOLOR}"
else
echo -e "${YELLOW}WARNING: AGI Pack Setup not found do you own it and does it exist in the dlc mount path?${NOCOLOR}"
echo -e "${YELLOW}WARNING: If you do not own it ignore this!${NOCOLOR}"
fi

if [ -f /opt/fs22/dlc/FarmingSimulator22_claasSaddleTracPack_*.exe ]; then
echo -e "${GREEN}INFO: CLAAS XERION SADDLE TRAC SETUP FOUND!${NOCOLOR}"
else
Expand Down Expand Up @@ -229,6 +236,17 @@ else
fi
fi

if [ -f ~/.fs22server/drive_c/users/nobody/Documents/My\ Games/FarmingSimulator2022/pdlc/agiPack.dlc ]
then
echo -e "${GREEN}INFO: AGI Pack already installed!${NOCOLOR}"
else
if [ -f /opt/fs22/dlc/FarmingSimulator22_agiPack_*.exe ]; then
echo -e "${GREEN}INFO: Installing AGI Pack!${NOCOLOR}"
for i in /opt/fs22/dlc/FarmingSimulator22_agiPack_*.exe; do wine "$i"; done
echo -e "${GREEN}INFO: AGI Pack is now installed!${NOCOLOR}"
fi
fi

if [ -f ~/.fs22server/drive_c/users/nobody/Documents/My\ Games/FarmingSimulator2022/pdlc/claasSaddleTracPack.dlc ]
then
echo -e "${GREEN}INFO: CLAAS XERION SADDLE TRAC Pack already installed!${NOCOLOR}"
Expand Down

0 comments on commit c02536e

Please sign in to comment.