Mise à jour de 'install.sh'

This commit is contained in:
wilou 2023-03-30 22:41:57 +00:00
parent e945eb0a17
commit 9626ad1774

View File

@ -106,17 +106,10 @@ notify-send -i $builddir/icones/sympatech_logo_rouge.png "Attention" "Redémarra
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub com.usebottles.bottles com.github.geigi.cozy io.crow_translate.CrowTranslate com.discordapp.Discord com.jgraph.drawio.desktop com.github.tchx84.Flatseal me.hyliu.fluentreader com.github.johnfactotum.Foliate io.github.hmlendea.geforcenow-electron org.onlyoffice.desktopeditors org.jdownloader.JDownloader io.gitlab.librewolf-community org.gnome.World.PikaBackup com.github.marinm.songrec io.github.hakandundar34coding.mini-system-monitor -y
# runonce.sh
# Autorisation pour la détéction des manettes de jeux pour GeForce NOW Electron (ne marche pas à faire après redémarrage sur une session utilisateur)
# flatpak --user override --filesystem=/run/udev:ro io.github.hmlendea.geforcenow-electron
# Edition du fichier crontab pour éxecution du script post-redémarrage
touch /tmp/wibian/$username
cp $builddir/runonce.sh /tmp/
echo "@reboot bash /tmp/runonce.sh" >> /tmp/wibian/$username
echo "@reboot crontab -r -u $username" >> /tmp/wibian/$username
cp /tmp/wibian/$username /var/spool/cron/crontabs/
chown $username:$username /var/spool/cron/crontabs/$username
# Runonce
mkdir -p /home/$username/.runonce
chown $username:$username -R /home/$username/.runonce/
cp $builddir/runonce.sh /home/$username/.runonce
# Copie des lanceurs d'applications personnalisés
mkdir -p /home/$username/.config/mate/panel2.d/default/launchers