mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
added bin folder, which was being gitignored
This commit is contained in:
parent
77a52cf2c5
commit
df0d0be84c
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…
Reference in New Issue
Block a user