mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-24 22:09:20 -04:00
added bin folder, which was being gitignored
This commit is contained in:
parent
77a52cf2c5
commit
df0d0be84c
2 changed files with 22 additions and 0 deletions
10
bin/onionshare
Executable file
10
bin/onionshare
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
import sys, os
|
||||||
|
|
||||||
|
try:
|
||||||
|
import onionshare
|
||||||
|
except ImportError:
|
||||||
|
sys.path.append(os.path.abspath(os.path.dirname(__file__)+'/..'))
|
||||||
|
import onionshare
|
||||||
|
|
||||||
|
onionshare.main()
|
12
bin/tails-onionshare
Executable file
12
bin/tails-onionshare
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ $EUID -ne 0 ]]; then
|
||||||
|
echo "You need to run this as root" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
|
export ONIONSHARE_PLATFORM=Tails
|
||||||
|
$DIR/onionshare $@
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue