onionshare/desktop/scripts/dev.sh

10 lines
240 B
Bash
Raw Normal View History

#!/bin/bash
# Run OnionShare desktop, allowing you to use command-line arguments
2021-08-22 16:22:34 -04:00
SCRIPTS_DIR=$( cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )
cd "$SCRIPTS_DIR"
cd ../src
python -c "import onionshare; onionshare.main()" $@