mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 16:59:35 -05:00
Deleted Tails folder, because it is currently broken and will be until it gets included in Tails
This commit is contained in:
parent
064bcb032c
commit
269018bcee
@ -1,20 +0,0 @@
|
||||
# Running OnionShare in Tails
|
||||
|
||||
Until OnionShare gets included in Debian, it will be annoying to install it in Tails so that it persists reboots. For now, you'll need to run a build script the first time, and then install it separately each time you boot. These instructions make it pretty simple.
|
||||
|
||||
### Building for Tails the first time
|
||||
|
||||
Start by booting to Tails. Mount your persistent volume and set an administrator password. Once you login and connect to the Tor network, open a terminal and type:
|
||||
|
||||
cd ~/Persistent
|
||||
git clone https://github.com/micahflee/onionshare.git
|
||||
sudo onionshare/tails/install_in_persistent_volume.sh
|
||||
|
||||
You only need to do that once each time you want to build a new version of OnionShare.
|
||||
|
||||
### Installing in Tails
|
||||
|
||||
In order to actually use it though, each time you boot Tails you'll need to enable your persistent volume and set an administrator password. Then open your Persistent folder and double-click on `Install OnionShare`. Type your temporary administrator password, and then OnionShare will get installed.
|
||||
|
||||
OnionShare will appear in the menu under Applications > Internet > OnionShare.
|
||||
|
@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "You need to run this as root" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PERSISTENT=/home/amnesia/Persistent
|
||||
INSTALL_DIR=$PERSISTENT/.onionshare_install
|
||||
|
||||
/usr/bin/dpkg -i $INSTALL_DIR/*.deb
|
||||
|
||||
/usr/bin/sudo -u amnesia /usr/bin/notify-send "OnionShare Installed" "Open with Applications > Internet > OnionShare"
|
@ -1,36 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "You need to run this as root" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PERSISTENT=/home/amnesia/Persistent
|
||||
INSTALL_DIR=$PERSISTENT/.onionshare_install
|
||||
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
|
||||
|
||||
cd $ROOT
|
||||
rm -rf $INSTALL_DIR &>/dev/null 2>&1
|
||||
mkdir -p $INSTALL_DIR
|
||||
|
||||
# install dependencies
|
||||
apt-get update
|
||||
apt-get install -y build-essential fakeroot python-all python-stdeb python-flask python-stem python-qt4 python-socksipy
|
||||
./install/build_deb.sh
|
||||
|
||||
# copy files
|
||||
cp deb_dist/onionshare_*.deb $INSTALL_DIR
|
||||
cp /var/cache/apt/archives/libjs-jquery_*.deb $INSTALL_DIR
|
||||
cp /var/cache/apt/archives/python-flask_*.deb $INSTALL_DIR
|
||||
cp /var/cache/apt/archives/python-jinja2_*.deb $INSTALL_DIR
|
||||
cp /var/cache/apt/archives/python-markupsafe_*.deb $INSTALL_DIR
|
||||
cp /var/cache/apt/archives/python-stem_*.deb $INSTALL_DIR
|
||||
cp /var/cache/apt/archives/python-werkzeug_*.deb $INSTALL_DIR
|
||||
cp install/onionshare80.xpm $INSTALL_DIR
|
||||
cp tails/install.sh $INSTALL_DIR
|
||||
cp tails/onionshare-install.desktop $PERSISTENT
|
||||
|
||||
# fix permissions
|
||||
chown -R amnesia:amnesia deb_dist $INSTALL_DIR
|
||||
chown amnesia:amnesia $PERSISTENT/onionshare-install.desktop
|
||||
chmod 700 $PERSISTENT/onionshare-install.desktop
|
@ -1,11 +0,0 @@
|
||||
#!/usr/bin/env xdg-open
|
||||
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Terminal=true
|
||||
Icon[en_US]=/home/amnesia/Persistent/.onionshare_install/onionshare80.xpm
|
||||
Name[en_US]=Install OnionShare
|
||||
Exec=/usr/bin/gksudo /home/amnesia/Persistent/.onionshare_install/install.sh
|
||||
Name=Install OnionShare
|
||||
Icon=/home/amnesia/Persistent/.onionshare_install/onionshare80.xpm
|
Loading…
Reference in New Issue
Block a user