ui: better message for missing udev file
This commit is contained in:
parent
98b5804a21
commit
4edbf51f17
|
@ -58,9 +58,6 @@ you will then need to either disconnect your receivers and
|
|||
any USB-connected or Bluetooth-connected devices and
|
||||
re-connect them or reboot your computer.
|
||||
|
||||
You only need to install Solaar's udev rule if it is not already installed
|
||||
on your system or the rule has changed.
|
||||
|
||||
## Running from the Download Directories
|
||||
|
||||
To run Solaar from the download directories, first install the Solaar udev rule if necessary.
|
||||
|
|
|
@ -147,14 +147,14 @@ def main():
|
|||
|
||||
udev_file = '42-logitech-unify-permissions.rules'
|
||||
if not os.path.isfile('/etc/udev/rules.d/' + udev_file) and not os.path.isfile('/lib/udev/rules.d/' + udev_file):
|
||||
print(_i18n._('Solaar depends on a udev file that is not present'))
|
||||
print(_i18n._('ERROR: '), end='')
|
||||
print(_i18n._('Solaar depends on a udev file that is not present'), end='.\n')
|
||||
print(
|
||||
_i18n._(
|
||||
'For more information see the Solaar installation directions\n'
|
||||
'at https://pwr-solaar.github.io/Solaar/installation'
|
||||
)
|
||||
)
|
||||
|
||||
try:
|
||||
import solaar.ui as ui
|
||||
import solaar.listener as listener
|
||||
|
|
Loading…
Reference in New Issue