Commit af8fa88a authored by Sven  's avatar Sven
Browse files

Don't open setup.sh/cleanup.sh in the text editor

Now we use desktop files to execute the setup and cleanup scripts

Fixes #34
parent 03e1ae8a
Pipeline #2329 failed with stage
in 10 seconds
[Desktop Entry]
Type=Application
Exec=/opt/setup/trustdesktop.sh
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name=Desktop Icons vertrauen
[Desktop Entry]
Type=Application
Icon=/opt/heyalter/heyalter.png
Name=Cleanup
Exec=/opt/setup/cleanup.sh
Terminal=false
/opt/setup/cleanup.sh
\ No newline at end of file
[Desktop Entry]
Type=Application
Icon=/opt/heyalter/heyalter.png
Name=Setup
Exec=/opt/setup/setup.sh
Terminal=false
/opt/setup/setup.sh
\ No newline at end of file
......@@ -6,6 +6,8 @@ zenity --warning --text "Erst setup.sh ausführen!" --width 512
exit 2
fi
rm ~/.config/autostart/trust.desktop
find /home -lname '/opt/setup/*' -delete
cp /opt/setup/heyalterhelp.desktop ~/Schreibtisch
gio set ~/Schreibtisch/heyalterhelp.desktop "metadata::trusted" true
......@@ -17,4 +19,4 @@ gsettings set org.gnome.desktop.screensaver lock-enabled 'true'
gsettings set org.gnome.desktop.lockdown disable-lock-screen 'false'
gsettings set org.gnome.desktop.session idle-delay 300
/opt/setup/cleanuproot.sh
\ No newline at end of file
/opt/setup/cleanuproot.sh
#!/bin/sh
gio set ~/Schreibtisch/setup.desktop "metadata::trusted" true
gio set ~/Schreibtisch/cleanup.desktop "metadata::trusted" true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment