id = "switchhosts" name = "SwitchHosts" homepage = "https://github.com/oldj/SwitchHosts" description = "An open-source app for managing and switching between multiple hosts configurations." # The app icon, from the project's repository. icon = "https://raw.githubusercontent.com/oldj/SwitchHosts/master/assets/app.svg" # SwitchHosts ships no command-line tool, so `detect` carries the bundle # identifier. It is the `identifier` field of the app's own build manifest, # src-tauri/tauri.conf.json: "identifier": "net.oldj.switchhosts". executables = [] [installation] macos_bundle_ids = ["net.oldj.switchhosts"] [dotfiles] # The description is trimmed from the same manifest's longDescription. # # README, "Data": "SwitchHosts stores data at `~/.SwitchHosts` (Or folder # `.SwitchHosts` under the current user's home path on Windows)", and # "For a complete manual backup, copy the whole `~/.SwitchHosts` folder." # One location on every platform — on Windows it is %USERPROFILE%\.SwitchHosts, # which resolves to the same `~/.SwitchHosts` and so is not spelled twice. # # The same section names what is inside: "`~/.SwitchHosts/manifest.json` stores # the hosts tree", "`~/.SwitchHosts/entries/` stores local and remote hosts # content", "`~/.SwitchHosts/trashcan.json` stores trashcan entries" and # "`~/.SwitchHosts/internal/config.json` stores preferences". paths = ["~/.SwitchHosts/"] # From the same list: "`~/.SwitchHosts/internal/histories/` stores system hosts # and command run history" — a record of what this machine's /etc/hosts looked # like over time, which is state rather than configuration. exclude = [ "~/.SwitchHosts/internal/histories/", ] # Nothing here is a credential. A remote hosts entry is fetched from a URL the # user gives; SwitchHosts holds no account and signs into nothing. secret = [] # No machine_lines. The hosts entries, their groups and the preferences are the # whole reason to carry this folder. The one machine-shaped thing SwitchHosts # touches — /etc/hosts itself — is not under the user's home and is not listed.