diff options
Diffstat (limited to 'system/winusb/winusbgui_polkit')
-rw-r--r-- | system/winusb/winusbgui_polkit | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/winusb/winusbgui_polkit b/system/winusb/winusbgui_polkit new file mode 100644 index 0000000000000..3474d9c9fdaeb --- /dev/null +++ b/system/winusb/winusbgui_polkit @@ -0,0 +1,6 @@ +#!/bin/sh +if (which pkexec >/dev/null 2>&1); then + pkexec --disable-internal-agent /usr/bin/winusbgui "$@" +else + /usr/bin/winusbgui "$@" +fi |