better-manage-global-menu #4

Merged
rokosun merged 8 commits from better-manage-global-menu into master 2024-01-01 15:38:54 +00:00
Showing only changes of commit a1e5a7fde9 - Show all commits

View File

@ -25,8 +25,8 @@ proc showHelp() =
echo fmt""" echo fmt"""
Usage: {executableName} <option> Usage: {executableName} <option>
Options: Options:
enable install global menus enable enable global menus
disable remove global menus""" disable disable global menus"""
if execProcess("/usr/bin/id", args=["--user"], options={}) != "0\n": if execProcess("/usr/bin/id", args=["--user"], options={}) != "0\n":
echo "Run this program as root." echo "Run this program as root."