From 269018bceedf1dde1fc58156580aa71bab7fbc24 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Fri, 4 Dec 2015 16:59:51 -0800 Subject: [PATCH] Deleted Tails folder, because it is currently broken and will be until it gets included in Tails --- tails/README.md | 20 --------------- tails/install.sh | 13 ---------- tails/install_in_persistent_volume.sh | 36 --------------------------- tails/onionshare-install.desktop | 11 -------- 4 files changed, 80 deletions(-) delete mode 100644 tails/README.md delete mode 100755 tails/install.sh delete mode 100755 tails/install_in_persistent_volume.sh delete mode 100755 tails/onionshare-install.desktop diff --git a/tails/README.md b/tails/README.md deleted file mode 100644 index 8adde458..00000000 --- a/tails/README.md +++ /dev/null @@ -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. - diff --git a/tails/install.sh b/tails/install.sh deleted file mode 100755 index 2f256932..00000000 --- a/tails/install.sh +++ /dev/null @@ -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" diff --git a/tails/install_in_persistent_volume.sh b/tails/install_in_persistent_volume.sh deleted file mode 100755 index 2f2b64a9..00000000 --- a/tails/install_in_persistent_volume.sh +++ /dev/null @@ -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 diff --git a/tails/onionshare-install.desktop b/tails/onionshare-install.desktop deleted file mode 100755 index 0c77f3f6..00000000 --- a/tails/onionshare-install.desktop +++ /dev/null @@ -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