Skip to content

Commit a136ee5

Browse files
committed
Set removing the autostart file after Flatpaks installation
1 parent a6d209c commit a136ee5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/flatpaks_installer.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,8 @@
6262
print('All Flatpak apps are installed.')
6363
else:
6464
print("Nothing to do.")
65+
66+
# Remove the autostart file after finishing the operations
67+
autostart_file = f"{Path.home()}/.config/autostart/io.github.vikdevelop.SaveDesktop.Flatpak.desktop"
68+
if os.path.exists(autostart_file):
69+
os.remove(autostart_file)

0 commit comments

Comments
 (0)