/asus-bios-updates-notifier

Notifier for Asus laptops which every time when user log in checks whether is BIOS version up-to-date. Notification about possible upgrade is customizable.

Primary LanguageShell

Asus BIOS Updates Notifier

License: GPL v2 Maintainer GitHub Release GitHub commits Ask Me Anything ! PRs Welcome Hits

preview

Included script checks whether is current version of ASUS laptop's BIOS up-to-date every time when the laptop starts via provided systemctl service. Service is designed to wait for connection, then execute check script and be stopped so consumes nothing.

If you find this project useful, do not forget to give it a GitHub stars People already did!

Changelog

CHANGELOG.md

Features

  • Notifier is installed for current user and does not run under $ sudo
  • Customizable scripts which by default show notification bubbles via $ notify-send

Installation

Get latest dev version using git

$ git clone https://github.com/asus-linux-drivers/asus-bios-updates-notifier
$ cd asus-bios-updates-notifier

and install

$ bash install.sh

or run separately parts of the install script

  • run notifier every time when the user log in (do NOT run as $ sudo, works via systemctl --user)
$ bash install_service.sh

Configuration

When is systemctl service installed is check script run immediately and also is run every time when user log in and after every BIOS version check are processed scripts which are located for futher customization here:

  • When is BIOS upgradable (/usr/share/asus-bios-updates-notifier/bios_is_upgradable_script.sh)(default content below)
#!/bin/bash

notify-send "BIOS v$BIOS_VERSION is upgradable to v$BIOS_VERSION_LATEST ($BIOS_VERSION_LATEST_RELEASED_DATE)"
  • When is BIOS up-to-date (/usr/share/asus-bios-updates-notifier/bios_is_uptodate_script.sh) (default content below)
#!/bin/bash

notify-send "BIOS v$BIOS_VERSION ($BIOS_VERSION_LATEST_RELEASED_DATE) is up-to-date"

Uninstallation

To uninstall run

$ bash uninstall.sh

or run separately parts of the uninstall script

$ bash uninstall_service.sh

Tests

To run tests

$ bash tests/script.sh

Existing similar projects

I do not know any.

Why was this project created? As a notifier about any released BIOS version.