From 9626ad177476b4c1e326fe05aae2ec9d87f3138e Mon Sep 17 00:00:00 2001 From: wilou Date: Thu, 30 Mar 2023 22:41:57 +0000 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'install.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/install.sh b/install.sh index c051704..1648b3b 100644 --- a/install.sh +++ b/install.sh @@ -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