Nova1545 / gnome-shell-extension-customreboot

A gnome-shell extension to add a "Custom Restart..." option to the shell system panel that allows you to choose what OS you want to boot into, after which it triggers the typical end session dialog for restart.
GNU General Public License v3.0
10 stars 5 forks source link

Fix systemdBoot.js #10

Closed filipkemuel closed 6 months ago

filipkemuel commented 7 months ago

Switched title and id in bootOptions.set and in bootOptions.forEach just below it. Now entries show up correctly

Changed: ExecCommand( ['/usr/bin/pkexec', '/usr/sbin/grub-reboot', id] to: ExecCommand(['/usr/bin/pkexec', '/usr/bin/bootctl', 'set-oneshot', id],)

Now rebooting with systemd-boot works.

Fixes #9