Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Download do ícone usado na área de trabalho
- wget https://i.postimg.cc/L5sGfWqy/pngwing-com.png -O \
- /home/$USER/.local/share/packet_tracer.png
- # Criação do lançador .desktop
- [ -d /home/$USER/.local/share/applications/ ] || mkdir /home/$USER/.local/share/applications
- cat << EOF > /home/$USER/.local/share/applications/packet_tracer.desktop
- [Desktop Entry]
- Version=1.1
- Type=Application
- Name=Cisco Packet Tracer
- Comment=Um simulador de redes da empresa Cisco
- Icon=/home/$USER/.local/share/packet_tracer.png
- Exec=toolbox run --container packet_tracer_container /usr/local/bin/packettracer
- Actions=
- Categories=Network;
- EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement