- Create autostart if not already in place.

- - Fixes #342 Fixes #348
This commit is contained in:
trigg 2024-12-16 21:36:54 +00:00
parent 369ba964e2
commit e7992e0152

View file

@ -61,6 +61,7 @@ class Autostart:
# Enable
directory = os.path.join(xdg_config_home, 'autostart')
self.auto = os.path.join(directory, self.app_name)
os.makedirs(directory, exist_ok=True)
os.symlink(self.desktop, self.auto)
elif not enable and self.auto:
# Disable