changing the way desktop files are created
This commit is contained in:
parent
87561453cb
commit
63738ece6e
@ -118,29 +118,32 @@ echo "Ajout des alias au bashrc réussi."
|
||||
sleep 5
|
||||
|
||||
# Installation des fichiers desktop
|
||||
echo "[Desktop Entry]\n\
|
||||
Encoding=UTF-8\n\
|
||||
Name=Syncthing\n\
|
||||
Icon=syncthing\n\
|
||||
Comment="Outil de synchronisation sécurisé sans serveur central"\n\
|
||||
Exec=bin/syncthing/syncthing\n\
|
||||
Terminal=false\n\
|
||||
Type=Application\n\
|
||||
" >> $HOME/.config/autostart/syncthing-autostart.desktop
|
||||
cat << "EOF" > $HOME/.config/autostart/syncthing-autostart.desktop
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Syncthing
|
||||
Icon=syncthing
|
||||
Comment="Outil de synchronisation sécurisé sans serveur central"
|
||||
Exec=bin/syncthing/syncthing
|
||||
Terminal=false
|
||||
Type=Application
|
||||
EOF
|
||||
|
||||
fonct_ArretSurErreur
|
||||
echo "Ajout du lien de démmarrage automatique réussi."
|
||||
sleep 5
|
||||
|
||||
echo "[Desktop Entry]\n\
|
||||
Encoding=UTF-8\n\
|
||||
Name=Syncthing (Interface Web)\n\
|
||||
Icon=syncthing\n\
|
||||
Comment=\"Ouvrir l'interface web de Syncthing\"\n\
|
||||
Exec=firefox --new-tab 127.0.0.1:8384\n\
|
||||
Terminal=false\n\
|
||||
Type=Application\n\
|
||||
Categories=Network;\n\
|
||||
" >> $HOME/.local/share/applications/syncthing-wui.desktop
|
||||
cat << "EOF" > $HOME/.local/share/applications/syncthing-wui.desktop
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Syncthing (Interface Web)
|
||||
Icon=syncthing
|
||||
Comment="Ouvrir l'interface web de Syncthing"
|
||||
Exec=firefox --new-tab 127.0.0.1:8384
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;
|
||||
EOF
|
||||
fonct_ArretSurErreur
|
||||
echo "Ajout du raccourcis vers l'interface web réussi."
|
||||
echo "Vous le trouverez dans le menu principal"
|
||||
|
Loading…
Reference in New Issue
Block a user