Skip to content

Commit

Permalink
Merge pull request #1493 from Grantrocks/master
Browse files Browse the repository at this point in the history
Update to work with rpiOS latest security update
  • Loading branch information
LDarki authored May 2, 2022
2 parents 7880e1e + 5d933b0 commit e3bcff3
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Tools/duco-install-rpi.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
# Made by Grantrocks

u="$USER"
echo "Installing Duino Coin On Your Raspberry Pi"
sleep 1
sudo apt update
Expand Down Expand Up @@ -33,8 +33,8 @@ mkdir -p ~/.local/share/applications
echo "[Desktop Entry]
Name=Duino Coin PC Miner
Comment=Duino Coin miner for the raspberry pi
Exec=python3 /home/pi/duino-coin/PC_Miner.py
Icon=/home/pi/duino-coin/Resources/PCMiner.png
Exec=python3 /home/$u/duino-coin/PC_Miner.py
Icon=/home/$u/duino-coin/Resources/PCMiner.png
Terminal=true
Type=Application
Categories=Utility;
Expand All @@ -49,10 +49,14 @@ fi
echo "[Desktop Entry]
Name=Duino Coin AVR Miner
Comment=AVR miner for duino coin.
Exec=python3 /home/pi/duino-coin/AVR_Miner.py
Icon=/home/pi/duino-coin/Resources/AVRMiner.png
Exec=python3 /home/$u/duino-coin/AVR_Miner.py
Icon=/home/$u/duino-coin/Resources/AVRMiner.png
Terminal=true
Type=Application
Categories=Utility;
StartupNotify=true" > ~/.local/share/applications/duino-coin-avr.desktop
cd ~/
if [ -f ~/duco-install-rpi.sh]; then
rm duco-install-rpi.sh
fi
echo "Installed"

0 comments on commit e3bcff3

Please sign in to comment.