gnome-shell/js
Florian Müllner 1f08056977 extensionSystem: Remove "disable" file on shutdown
The file indicates to the systemd shutdown scripts that extensions
should be disabled, so that extensions that crash the shell on
startup cannot lock out the user indefinitely.

For that purpose, we create the file before initializing extensions,
and remove it after 60 seconds. That generally works, because it's
highly unlikely that a session genuinely ends within the first minute.

It's possible though (for example during developments or when running
tests), so also remove the file when shutting down cleanly before
the timeout.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2807>
2023-07-07 11:34:44 +00:00
..
dbusServices dbusServices/extensions: Load preferences as module 2023-07-06 18:41:29 +00:00
gdm js: Fix linting errors from line shifts 2023-06-21 04:50:33 -07:00
misc extensionUtils: Remove installImporter() 2023-07-06 18:41:29 +00:00
perf js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
portalHelper portalHelper: Port to ESM 2023-06-21 13:26:42 +02:00
ui extensionSystem: Remove "disable" file on shutdown 2023-07-07 11:34:44 +00:00
js-resources.gresource.xml tests/perf: Add test for shutdown with open window 2023-04-20 14:49:38 +02:00
meson.build
portal-resources.gresource.xml js/portal-resources: Add missing fileUtils to js path 2022-11-03 18:02:27 +00:00