Merge pull request #634 from gordonwritescode/master

update linux install scripts
This commit is contained in:
Gustavo Maximiliano Cortez 2014-06-10 01:18:59 -03:00
commit 49b4479be6
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Name=Copay
Exec=/opt/Copay/copay
Icon=/opt/Copay/resources/app/node_modules/copay/android/icon.png
Exec=/opt/Copay/Copay
Icon=/opt/Copay/resources/app/android/icon.png
Type=Application
Categories=Bitcoin;

View File

@ -1,13 +1,13 @@
#!/bin/bash
cd /tmp
# download pre-built pacakge to tmp
wget https://github.com/bitpay/copay/releases/download/v0.1.0/Copay-linux-x64.tar.gz
wget https://github.com/bitpay/copay/releases/download/v0.1.1/Copay-linux-x64.tar.gz
# extract archive
tar -xvf /tmp/Copay-linux-x64.tar.gz
# move the package to opt
mv /tmp/Copay /opt/Copay
# symlink `copay` to user path
ln -s /opt/Copay/copay /usr/local/bin/copay
ln -s /opt/Copay/Copay /usr/local/bin/copay
cd /usr/share/applications
# download desktop entry
wget https://raw.githubusercontent.com/bitpay/copay-shell/master/assets/linux/Copay.desktop
wget https://raw.githubusercontent.com/bitpay/copay/master/shell/assets/linux/Copay.desktop