build-support/make-desktopitem: add some missing fields
This commit is contained in:
parent
42e87863e6
commit
c4b3aa6260
|
@ -12,6 +12,8 @@
|
||||||
, mimeType ? null
|
, mimeType ? null
|
||||||
, categories ? null
|
, categories ? null
|
||||||
, startupNotify ? null
|
, startupNotify ? null
|
||||||
|
, noDisplay ? null
|
||||||
|
, prefersNonDefaultGPU ? null
|
||||||
, extraDesktopEntries ? { } # Extra key-value pairs to add to the [Desktop Entry] section. This may override other values
|
, extraDesktopEntries ? { } # Extra key-value pairs to add to the [Desktop Entry] section. This may override other values
|
||||||
, extraEntries ? "" # Extra configuration. Will be appended to the end of the file and may thus contain extra sections
|
, extraEntries ? "" # Extra configuration. Will be appended to the end of the file and may thus contain extra sections
|
||||||
, fileValidation ? true # whether to validate resulting desktop file.
|
, fileValidation ? true # whether to validate resulting desktop file.
|
||||||
|
@ -35,6 +37,8 @@ let
|
||||||
"MimeType" = nullableToString mimeType;
|
"MimeType" = nullableToString mimeType;
|
||||||
"Categories" = nullableToString categories;
|
"Categories" = nullableToString categories;
|
||||||
"StartupNotify" = nullableToString startupNotify;
|
"StartupNotify" = nullableToString startupNotify;
|
||||||
|
"NoDisplay" = nullableToString noDisplay;
|
||||||
|
"PrefersNonDefaultGPU" = nullableToString prefersNonDefaultGPU;
|
||||||
} // extraDesktopEntries;
|
} // extraDesktopEntries;
|
||||||
|
|
||||||
# Map all entries to a list of lines
|
# Map all entries to a list of lines
|
||||||
|
|
Loading…
Reference in a new issue