kill mako just in case

This commit is contained in:
piotr 2022-04-27 03:25:21 +02:00
parent 59000ecd8d
commit 2a0671ece3

View File

@ -60,6 +60,8 @@ def main():
if last_upgrade is not None and ver is not None:
if last_upgrade < ver and __version__ in need_upgrade:
subprocess.Popen("pkill -f mako", shell=True)
subprocess.Popen(
'exec {}'.format("notify-send -i /usr/share/pixmaps/nwg-shell.svg 'Upgrade to nwg-shell v{} available' "
"'Run \"nwg-shell-installer -u\" in terminal.'".format(__version__)), shell=True)