Skip to content

Commit c202a54

Browse files
bbhttrazzeee
authored andcommitted
Allow exceptions for no finish-args from console applications
1 parent 3bb83ff commit c202a54

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/02-for-app-authors/12-linter.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Here is a list of linter errors, and whether exceptions may be applied, by defau
3636
| `finish-args-fallback-x11-without-wayland` | Permission has `fallback-x11` without `wayland`. | Yes |
3737
| `finish-args-flatpak-spawn-access` | The package requested access to `org.freedesktop.Flatpak`. | Yes |
3838
| `finish-args-incorrect-dbus-gvfs` | D-Bus name `org.gtk.vfs` doesn't exist. | No |
39-
| `finish-args-not-defined` | No `finish-args`. For the case where this is needed put an empty array. | No |
39+
| `finish-args-not-defined` | No `finish-args` defined. | Yes[^5] |
4040
| `finish-args-redundant-home-and-host` | Filesystem permission has both `home` and `host`. | No |
4141
| `finish-args-unnecessary-appid-own-name` | D-Bus permission for app id name is granted automatically. | No |
4242
| `finish-args-unnecessary-xdg-cache-access` | Filesystem permission has a subpath of `xdg-cache`. | Yes |
@@ -67,6 +67,7 @@ Here is a list of linter errors, and whether exceptions may be applied, by defau
6767
[^2]: Unless BaseApps or extensions. (Might also be granted on a case-by-case basis)
6868
[^3]: Granted for `extra-data`.
6969
[^4]: Exception only for tools that requires D-Bus access and for which the names are not predictable; this includes D-Bus tools and IDEs. In general it isn't allowed.
70+
[^5]: Only for console applications, graphical applications must have finish-args.
7071

7172
## Exceptions
7273

0 commit comments

Comments
 (0)