Skip to content

Commit

Permalink
#2288 add macos sql auth tool shortcut
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@22640 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 6, 2019
1 parent a464658 commit 8a0d584
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions osx/Helpers/SQL_auth_tool
@@ -0,0 +1,8 @@
#!/bin/sh

#call the "Python" wrapper:
exe_name=$(basename $0)
full_path=$(cd "$(dirname "$0")"; pwd -P)
PYTHON="$full_path/PythonExecWrapper"

exec "$PYTHON" "$exe_name" -c "import sys;sys.argv[0]=\"$full_path/$exe_name\";from xpra.server.auth.sql_auth import main;main(sys.argv)" "$@"

0 comments on commit 8a0d584

Please sign in to comment.