<workshop_settings>
  <workshop_id>730</workshop_id>
  <download_method>steamapi</download_method>
  <anonymous_login>1</anonymous_login>
  <mods_path>mods</mods_path>
  <mods>
    <mod id='1440818854'>
      <name>cs_noffice [office in nuke-style]</name>
      <description>YSBzbWFsbCBmdW5tYXANCg0KZW5qb3kgYW5kIGhhdmUgZnVuIDotKQ==</description>
      <image_url>https://steamuserimages-a.akamaihd.net/ugc/964217986228487212/CF7FB6AFE894AF59908CDA64AD5E8F852D39AE1E/</image_url>
      <download_url>https://steamusercontent-a.akamaihd.net/ugc/964217986228482922/A3EB0675317A2395DC96870AFE3EDB9608616787/</download_url>
      <filename>cs_noffice.bsp</filename>
      <file_size>72639068</file_size>
    </mod>
    <mod id='1414531578'>
      <name>de_cornerwork</name>
      <description>RGVfY29ybmVyd29yayBmcm9tIENTTzIsIG1hZGUgYnkgTmV4b24=</description>
      <image_url>https://steamuserimages-a.akamaihd.net/ugc/938320142839248719/DE42CB9345A53EC8B4BBE5381D8AD55407FD88D1/</image_url>
      <download_url>https://steamusercontent-a.akamaihd.net/ugc/938321006101014631/2F2EF3472A0FC4B10D1AD559FC516B742AF43C15/</download_url>
      <filename>de_cornerwork.bsp</filename>
      <file_size>87872150</file_size>
    </mod>
    <mod id='1433404064'>
      <name>Mirage [Compatibility Version 1.36.3.8]</name>
      <description>QW4gb2xkZXIgdmVyc2lvbiBvZiBvZmZpY2lhbCBtYXAgYnkgVmFsdmUgZm9yIGRlbW8gcGxheWJhY2sgY29tcGF0aWJpbGl0eS4gVGhpcyBtYXAgd2FzIHByZXZpb3VzbHkgdXNlZCBpbiBPZmZpY2lhbCBNYXRjaG1ha2luZyBpbiBDUzpHTy4gSXQgY291bGQgYmUgcGxheWVkIGluIERlYXRobWF0Y2gsIENsYXNzaWMgQ2FzdWFsLCBhbmQgQ2xhc3NpYyBDb21wZXRpdGl2ZS4=</description>
      <image_url>https://steamuserimages-a.akamaihd.net/ugc/387665671598503104/9BC8E9D876916173C915233460D559231FF4E4E3/</image_url>
      <download_url>https://steamusercontent-a.akamaihd.net/ugc/945077059916661709/A20ADA8668F0BB0EE12F61314137BE71EFDFF6C3/</download_url>
      <filename>de_mirage.bsp</filename>
      <file_size>17429043</file_size>
    </mod>
  </mods>
  <config>
    <regex>(.*\n?)*</regex>
    <mods_backreference_index>0</mods_backreference_index>
    <variable />
    <place_after />
    <mod_string>%first_file%</mod_string>
    <string_separator>\n</string_separator>
    <filepath>mods/modlist.txt</filepath>
  </config>
  <post_install>printf &quot;\nRunning post installation for mod %workshop_mod_id%&quot;
printf &quot;\nInstalling Map %first_file%\n&quot;
unzip -o &quot;%mods_full_path%/steamapps/workshop/content/730/%workshop_mod_id%/%first_file%&quot; -d &quot;%mods_full_path%/../csgo/maps&quot;
printf &quot;\nCleaning up&quot;
rm -Rf &quot;%mods_full_path%/steamapps/workshop/content/730/%workshop_mod_id%&quot;
map=%first_file%
map=${map%.bsp}
maplist_file=&quot;%mods_full_path%/../csgo/maplist.txt&quot;
maplist_content=$(cat &quot;$maplist_file&quot;)
if [ ! -z &quot;${maplist_content##*$map*}&quot; ];then
    printf &quot;\nAdding Map to maplist.txt&quot;
    echo $map &gt;&gt; &quot;$maplist_file&quot;
else
    printf &quot;\nMap already in maplist.txt&quot;
fi
printf &quot;\nInstallation for map %first_file% completed!&quot;
</post_install>
  <uninstall>map=%mod_string%
if [ -f &quot;%mods_full_path%/../csgo/maps/$map&quot; ];then
    rm -f $map
fi
map=${map%.bsp}
maplist_file=&quot;%mods_full_path%/../csgo/maplist.txt&quot;
sed -i &quot;/^$map$/d&quot; $maplist_file
</uninstall>
</workshop_settings>
