Stop asking for a restart after the machine has restarted
Release / release (push) Successful in 27s
Release / release (push) Successful in 27s
CoreDesktop only removes reboot-needed at the start of the next update, so the restart item stayed after a reboot. Ignore the flag when it was written before the current boot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -345,7 +345,7 @@ class Indicator extends PanelMenu.Button {
|
||||
this._header.versionLabel.text = version ?? (Cli.isInstalled()
|
||||
? 'Version unknown' : 'CoreDesktop isn\'t installed');
|
||||
|
||||
this._rebootNeeded = GLib.file_test(Cli.REBOOT_NEEDED, GLib.FileTest.EXISTS);
|
||||
this._rebootNeeded = Cli.rebootNeeded();
|
||||
this._lastUpdate = Cli.mtime(Cli.PACMAN_UPDATE_LOG);
|
||||
|
||||
const names = await Cli.installedSiblings();
|
||||
|
||||
Reference in New Issue
Block a user