<?xml version="1.0" encoding="UTF-8"?>
<!--

    BleachBit
    Copyright (C) 2008-2023 Andrew Ziem
    https://www.bleachbit.org

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

    @app TeamViewer
    @url https://www.teamviewer.com/en/
    @os Windows, Linux
    @cleanerversion v1.5.0
    @cleanerdate 2019-03-22
    @cleanerby MixCool (2009-06-23) & Andrew Ziem (2009-06-23 - 2009-10-04) & Tobias B. Besemer (2019-03-13 - 2019-03-22)
    @tested ok v???, Windows 7
    @testeddate 2019-03-13
    @testedby https://github.com/Tobias-B-Besemer
    @note 

-->
<cleaner id="teamviewer" os="windows">
  <label>TeamViewer</label>
  <description>Remote control software</description>
  <var name="Profile">
    <value os="windows">%AppData%\TeamViewer</value>
    <!--
    Linux $$Profile$$ not yet figured out! I will do this maybe later! Tobias.
    <value os="linux">~/.teamviewer</value>
    -->
  </var>
  <option id="logs">
    <label>Logs</label>
    <description>Delete the logs</description>
    <action command="delete" search="glob" path="$$Profile$$\TeamViewer*_Logfile.log"/>
  </option>
  <option id="mru">
    <label>Most recently used</label>
    <description>Delete the most recently used list</description>
    <action command="delete" search="walk.files" path="$$Profile$$\MRU\"/>
    <action command="delete" search="file" path="$$Profile$$\MRU\"/>
    <action command="delete" search="file" path="$$Profile$$\Connections.txt"/>
    <!-- Windows: -->
    <action command="winreg" path="HKCU\Software\TeamViewer\Version4" name="Last_Machine_Connections"/>
  </option>
</cleaner>
