I made a simple async Extension which periodically count Arch Linux's updates and shows them on the panel.
The extension works fine IF it's enabled with Gnome Shell already running. In any other case (starting Gnome Shell with the extension pre-enabled), it breaks the desktop and goes back to GDM.
My code can be found at: https://github.com/speltriao/Pacman-Update-for-GNOME-Shell/blob/main/pacmancounter@example.com/extension.js
Maybe there is something wrong with the async function? Got the idea from https://www.andyholmes.ca/articles/asynchronous-programming-in-gjs.html
Thanks.
https://stackoverflow.com/questions/67411285/asynchronous-extension-breaks-gnome-shell May 06, 2021 at 11:06AM
没有评论:
发表评论