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