// This project's own resources: where ai-app keeps what it accumulates // and what somebody configured. // // Structured as the body of the struct, with no outer parentheses, which // is the house rule every RON file here follows -- `wg_app_link::format` // is the only thing that knows it, so both this project's code and Dev // Updater read the file the same way. // // Dev Updater reads the keys it understands (`name`, `data`, `config`) // and ignores the rest, so anything else this project needs to keep in // one place belongs here too. // What this project calls itself for the purpose of keeping state, and // where `~/.local/share/ai-app` and `~/.config/ai-app` come from. Not the // crate name -- that is `ai-server`, which answers to the binary it // produces -- and not the label, which is "AI Sessions" because that is // what a person reads on a card. // // No `data` or `config` key: both are the conventional XDG places, and // writing them out would be a second copy of what the server already // derives from this same name. // // Worth knowing before using the Uninstall dialog's config toggle: // `$XDG_CONFIG_HOME/ai-app/certs` is in there, and the CA is the one-way // door -- deleting it strands every phone that has this server's app // installed until the app is rebuilt against a new CA and reinstalled. name: "ai-app",