{ "module": "betterbird", "version": "1", "requires": [ "x11-display" ], "settings": { "prefs": { "kind": "preference", "default": "// none", "why": "Betterbird runs with its own defaults until a machine's assignment names a preference: one line of user_pref(\"name\", value); statements, which the module's user.js holds and Betterbird reads at its start (novox/hq issue 345)" } }, "tools": [ "betterbird_status", "betterbird_prefs", "betterbird_user_js", "betterbird_log", "betterbird_restart", "betterbird_check", "betterbird_reminder_test" ], "resources": [ { "id": "configuration-dir", "type": "directory", "path": "${machine:account-home}/.config/betterbird", "owner": "${machine:account}", "mode": "0755" }, { "id": "user-js", "type": "file", "path": "${machine:account-home}/.config/betterbird/user.js", "owner": "${machine:account}", "mode": "0644", "content": "// Betterbird's user.js (module betterbird, novox/hq issue 345). Owned by the mesh: the node-engine\n// writes it here at every push, and the module's tools copy it whole into Betterbird's profile\n// (betterbird_user_js with apply, betterbird_restart), where Betterbird reads it at its start and lets it\n// win over the preferences Betterbird saves itself. Change the module's setting prefs, never this file or the profile's copy.\n//\n// Only comments and user_pref(\"name\", value); statements; the tools refuse anything else, and any\n// preference whose name can hold a credential.\n${setting:prefs}\n" } ], "build": { "artifacts": [ { "name": "tools", "kind": "bundle", "language": "go", "system": "arch", "from": "cmd/betterbird-tools", "binary": "betterbird-tools", "loads": [ "betterbird-tools" ] } ] } }