summaryrefslogtreecommitdiff
path: root/system/winusb/winusbgui_polkit
blob: 3474d9c9fdaeb2b80921ff8742692255443d1231 (plain)
1
2
3
4
5
6
#!/bin/sh
if (which pkexec >/dev/null 2>&1); then
   pkexec --disable-internal-agent /usr/bin/winusbgui "$@"
else
   /usr/bin/winusbgui "$@"
fi