
Defining default apps as serialized GVariants isn't very human-friendly, which likely contributes to the fact that the lists are in parts horribly outdated (Books! Cheese! Screenshot! gedit!). Instead, generate the lists at build time from simple text files, which should be much easier to update. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3632>
25 lines
948 B
JavaScript
25 lines
948 B
JavaScript
const pkg = imports.package;
|
|
|
|
/* The name of this package (not localized) */
|
|
export const PACKAGE_NAME = '@PACKAGE_NAME@';
|
|
/* The version of this package */
|
|
export const PACKAGE_VERSION = '@PACKAGE_VERSION@';
|
|
/* 1 if networkmanager is available, 0 otherwise */
|
|
export const HAVE_NETWORKMANAGER = @HAVE_NETWORKMANAGER@;
|
|
/* 1 if portal helper is enabled, 0 otherwise */
|
|
export const HAVE_PORTAL_HELPER = @HAVE_PORTAL_HELPER@;
|
|
/* gettext package */
|
|
export const GETTEXT_PACKAGE = '@GETTEXT_PACKAGE@';
|
|
/* locale dir */
|
|
export const LOCALEDIR = '@datadir@/locale';
|
|
/* other standard directories */
|
|
export const LIBEXECDIR = '@libexecdir@';
|
|
export const PKGDATADIR = '@datadir@/@PACKAGE_NAME@';
|
|
/* g-i package versions */
|
|
export const LIBMUTTER_API_VERSION = '@LIBMUTTER_API_VERSION@';
|
|
|
|
export const HAVE_BLUETOOTH = pkg.checkSymbol('GnomeBluetooth', '3.0',
|
|
'Client.default_adapter_state');
|
|
|
|
export const UTILITIES_FOLDER_APPS = @UTILS_FOLDER_APPS@;
|