A `-Dprofile=development` build is a separate application identity: the app id carries a `.Devel` suffix, and the desktop file, AppStream id, icon, GSettings schema id/path, GResource bundle name, D-Bus name and data directories all follow, with a `regent-devel` binary so it installs beside the stable one instead of replacing it. The Rust side switches `APP_ID` on a cargo `devel` feature (a feature, not an env var, so the shared cargo target dir cannot return a binary built for the other profile); the metadata files become `.in` templates configured from `app_id`. The nightly uses the banded nightly app icon and libadwaita's striped `devel` header bar. The dev deploy selects it with `REGENT_PROFILE=development`; the release `--pkg` build stays stable, and a nightly install leaves the `nostrconnect://` scheme handler to the stable build. Two Meson details this depends on: the GResource prefix is fixed by `resources.gresource.xml` (not the resource id) and is shared by both profiles, and `gnome.compile_schemas()` scans the source directory, so the generated schema is compiled by a `glib-compile-schemas` target instead.
46 lines
3.1 KiB
XML
46 lines
3.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<schemalist gettext-domain="regent">
|
|
<schema id="@appid@" path="@apppath@">
|
|
<key name="current-identity" type="s">
|
|
<default>''</default>
|
|
<summary>Current identity</summary>
|
|
<description>The identity key selected in the UI, as hex. It scopes the Apps and Activity pages and is the default identity for new pairings. Empty means the first stored key.</description>
|
|
</key>
|
|
<key name="auto-approve-limit" type="i">
|
|
<default>30</default>
|
|
<summary>Auto-approval rate limit</summary>
|
|
<description>How many requests per minute a stored "allow always" permission may answer without asking, per application. Once an application exceeds it Regent asks again, so a runaway client turns back into prompts instead of an unbounded silent stream. Zero means never answer silently.</description>
|
|
</key>
|
|
<key name="lock-timeout" type="i">
|
|
<default>900</default>
|
|
<summary>Auto-lock timeout</summary>
|
|
<description>How long the key vault stays open after it is unlocked, in seconds. Zero means never lock automatically. This is a hard timeout measured from the unlock, not an idle timer: request traffic must not extend it, or a chatty client would hold the vault open forever.</description>
|
|
</key>
|
|
<key name="load-app-icons" type="b">
|
|
<default>true</default>
|
|
<summary>Load application icons</summary>
|
|
<description>Fetch and show the icon an application declares in its pairing metadata, from the application's own server, after you approve it. Turning this off stops all icon fetches and leaves the initials in place.</description>
|
|
</key>
|
|
<key name="close-action" type="s">
|
|
<default>'ask'</default>
|
|
<summary>What closing the window does</summary>
|
|
<description>What happens when the main window is closed while the signer is listening: 'ask' shows a dialog, 'background' keeps Regent running so it can answer requests, 'quit' ends the application. Only offered while the signer runs; with no key, or a stopped signer, closing quits.</description>
|
|
</key>
|
|
<key name="show-tray-icon" type="b">
|
|
<default>true</default>
|
|
<summary>Show a status icon</summary>
|
|
<description>Show a StatusNotifierItem/AppIndicator status icon while Regent runs, with Show/Hide and Quit. Stock GNOME needs the AppIndicator extension to display it; on most other desktops it is native.</description>
|
|
</key>
|
|
<key name="autostart" type="b">
|
|
<default>false</default>
|
|
<summary>Start at login</summary>
|
|
<description>Register Regent with the desktop's background portal so it starts at login, hidden, and can answer requests. Uses org.freedesktop.portal.Background; on GNOME this also lists Regent under Background Apps.</description>
|
|
</key>
|
|
<key name="relays" type="as">
|
|
<default>['wss://nostr.kosmos.org']</default>
|
|
<summary>Relays</summary>
|
|
<description>Relays Regent connects to for NIP-46 requests and responses. Many public relays reject or rate-limit kind:24133, so the default is a relay that accepts them.</description>
|
|
</key>
|
|
</schema>
|
|
</schemalist>
|