Add desktop file to hide first-setup from gnome-shell

main^2
axtloss 1 year ago
parent 8ce173a7cd
commit 6954e05e5d
No known key found for this signature in database
GPG Key ID: DD6D66939396C90E

@ -73,6 +73,15 @@ class Processor:
f.write("# Do not edit this file manually\n\n")
for command in next_boot:
f.write(f"{command}\n")
f.write("cat <<2EOF > ~/.local/share/applications/org.vanillaos.FirstSetup.desktop")
f.write("[Desktop Entry]\n")
f.write("Name=FirstSetup\n")
f.write("Comment=FirstSetup\n")
f.write("Exec=vanilla-first-setup\n")
f.write("Terminal=false\n")
f.write("Type=Application\n")
f.write("NoDisplay=true\n")
f.write("2EOF\n")
f.write("EOF\n")
f.write("chmod +x "+next_boot_script_path+"\n")

Loading…
Cancel
Save