bleachbit / wishlist

Wishlist enhancements related to BleachBit
GNU General Public License v3.0
7 stars 1 forks source link

FR: Add CleanerML function to query a registry key (Windows) #110

Open Nightblade opened 2 years ago

Nightblade commented 2 years ago

Purpose:

To find out where the software to be cleaned is installed.

Example:

Assume the following registry entry:

Registry key: HKLM\SOFTWARE\WOW6432Node\Valve\Steam
Value: InstallPath
Data: F:\Games\Steam

CleanerML usage:

...
  <var name="install_dir">
    <value get.registry="HKLM\SOFTWARE\WOW6432Node\Valve\Steam\InstallPath"/>
  </var>
...
    <action command="delete" search="glob" path="$$install_dir$$\dumps\*.dmp"/>
...

Notes: