Skip to main content
[uninstall] describes what users may delete along with your app, and where to send them if they want to say why they left. All settings are optional. Walkthrough: Uninstalling.
bach.toml

data

List of folders, default none. The removal window offers Also delete my data, unticked, and deletes these folders only if ticked. The window lists the actual folders below the box. Each folder must start with %APPDATA%, %LOCALAPPDATA% or %USERPROFILE%, followed by a folder of your own. Refused:
  • user and Windows folders themselves, such as Documents, Desktop, Downloads, Pictures, Music, Videos, Saved Games, AppData, Roaming, Local, LocalLow, Programs, Temp or OneDrive
  • anything inside .ssh, .aws, .azure, .gnupg, .kube, .docker, .terraform or a Microsoft folder
  • tool and work folders directly in the user profile, such as .config, .git, .vscode, .npm, .cargo, source, repos, projects, code or src
  • other programs’ data, such as Google\Chrome, Mozilla\Firefox, Code, Slack, Discord or Dropbox
  • a whole company folder such as Google, Adobe, JetBrains, Nvidia or Intel
  • NTUSER.DAT and similar
A folder of your own inside a shared one, such as %USERPROFILE%\Documents\My Game, is allowed. bach check warns if no part of a folder resembles your app’s name, id or publisher. The uninstaller also never deletes a folder that is or contains the install folder.

data_description

Text or text per language, default a generic sentence. A few words about what’s in those folders, shown under the box.

feedback_url

https link, optional. The last page of the removal window shows Tell us why, linking to it. delete_data, delete_data_description, removed_data_deleted, removed_data_kept, step_deleting_data and feedback in [text]. On macOS, data folders go in macos.data.