File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -399,7 +399,27 @@ sudo make install
399399##################################
400400CHIRP() {
401401
402- sudo apt install -y chirp
402+ #sudo apt install -y chirp
403+ cd ${DIR} || return
404+ CHIRP_FILE=$(curl -s https://github.com/goldstar611/chirp-appimage/releases | grep armhf | head -1 | sed 's/.*"\///;s/".*//')
405+ LINK="https://github.com/$CHIRP_FILE"
406+ wget $LINK
407+ CHIRP=$(ls | grep -i chirp)
408+ sudo mv $CHIRP /usr/local/bin/chirp
409+
410+ cat >chirp.desktop <<EOF
411+ [Desktop Entry]
412+ Name=Chirp
413+ Comment=Radio Programming Software
414+ GenericName=Chirp
415+ Exec=/usr/local/bin/chirp
416+ Icon=qsstv.png
417+ Type=Application
418+ Terminal=false
419+ Categories=HamRadio;
420+ EOF
421+
422+ sudo mv chirp.desktop /usr/share/applications/
403423
404424OLDCODE(){
405425 #left for reference
You can’t perform that action at this time.
0 commit comments