Show mesh routing icon even when there are no peers
This commit is contained in:
parent
e60eb5cbd0
commit
2c1c2e5c72
|
@ -1489,9 +1489,6 @@ else
|
|||
if [ -f /home/$MY_USERNAME/Desktop/tox.desktop ]; then
|
||||
rm /home/$MY_USERNAME/Desktop/tox.desktop
|
||||
fi
|
||||
if [ -f /home/$MY_USERNAME/Desktop/routing.desktop ]; then
|
||||
rm /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
fi
|
||||
pkill qtox
|
||||
fi
|
||||
|
||||
|
|
|
@ -810,6 +810,35 @@ function show_desktop_icons {
|
|||
#echo 'Terminal=false' >> /home/$MY_USERNAME/Desktop/audio.desktop
|
||||
#echo 'Categories=Application;' >> /home/$MY_USERNAME/Desktop/audio.desktop
|
||||
|
||||
echo '[Desktop Entry]' > /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Type=Application' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Name=Routing Protocol' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Name[el]=Πρωτόκολλο δρομολόγησης' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Name[ar]=بروتوكول التوجيه' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo "Name[ca]=Protocol d'enrutament" >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Name[hi]=रूटिंग प्रोटोकॉल' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Name[fr]=Protocole de routage' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Name[de]=Routingprotokoll' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Name[es]=Protocolo de enrutamiento' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Name[it]=Protocollo di routing' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Name[ru]=Протокол маршрутизации' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Name[zh]=路由协议' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Comment=Select the mesh routing protocol' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Comment[el]=Επιλέξτε το πρωτόκολλο δρομολόγησης πλέγματος' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Comment[ar]=حدد بروتوكول توجيه الشبكة' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo "Comment[ca]=Seleccioneu el protocol d'enrutament de malles" >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Comment[hi]=जाल रूटिंग प्रोटोकॉल का चयन करें' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Comment[fr]=Sélectionnez le protocole de routage de maillage' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Comment[de]=Wählen Sie das Mesh-Routing-Protokoll' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Comment[es]=Seleccione el protocolo de enrutamiento de malla' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo "Comment[it]=Seleziona il protocollo di instradamento della mesh" >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Comment[ru]=Выберите протокол маршрутизации сетки' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Comment[zh]=选择网状路由协议' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo "Exec=mate-terminal -e \"/usr/local/bin/${PROJECT_NAME}-mesh-routing\"" >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Icon=/usr/share/$PROJECT_NAME/avatars/icon_routing.png' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Terminal=false' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
echo 'Categories=Application' >> /home/$MY_USERNAME/Desktop/routing.desktop
|
||||
|
||||
# set permissions
|
||||
chmod +x /home/$MY_USERNAME/Desktop/*.desktop
|
||||
chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/Desktop/*
|
||||
|
|
Loading…
Reference in New Issue