parent
369ba964e2
commit
e7992e0152
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue