Add opt-in autostart desktop entry for the tray applet

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Luna 2026-07-03 07:38:23 -07:00
parent 1451cf7d58
commit a5e954e0ed
2 changed files with 18 additions and 0 deletions

View file

@ -157,5 +157,14 @@ class TestSourceInstallPackaging(unittest.TestCase):
self.assertIn(phrase, guide)
class TestTrayDesktopEntry(unittest.TestCase):
def test_desktop_file_launches_tray_entry_point(self):
text = _read("packaging/enodia-sentinel-tray.desktop")
self.assertIn("[Desktop Entry]", text)
self.assertIn("Type=Application", text)
self.assertIn("Exec=enodia-sentinel-tray", text)
self.assertRegex(text, r"(?m)^Name=.*Sentinel")
if __name__ == "__main__":
unittest.main()