mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 14:36:15 -04:00
Update desktop readme, and add a helper script to use CLI args
This commit is contained in:
parent
d416abdf95
commit
bbd5d6147b
3 changed files with 22 additions and 2 deletions
9
desktop/scripts/dev.sh
Executable file
9
desktop/scripts/dev.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Run OnionShare desktop, allowing you to use command-line arguments
|
||||
|
||||
SCRIPTS_DIR="$( cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )"
|
||||
cd $SCRIPTS_DIR
|
||||
|
||||
cd ../src
|
||||
python -c "import onionshare; onionshare.main()" $@
|
|
@ -5,5 +5,6 @@
|
|||
SCRIPTS_DIR="$( cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )"
|
||||
cd $SCRIPTS_DIR
|
||||
cd ../../cli
|
||||
poetry install
|
||||
poetry build
|
||||
cp dist/*.whl ../desktop
|
Loading…
Add table
Add a link
Reference in a new issue