We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6469e8f commit d8b7d58Copy full SHA for d8b7d58
src/config.py
@@ -49,6 +49,8 @@
49
50
class Save:
51
def __init__(self):
52
+ # create a txt file to prevent deleting the current saving by closing the application window
53
+ os.system("echo > saving_status")
54
print("saving settings from the Dconf database")
55
os.system("dconf dump / > ./dconf-settings.ini")
56
print("saving Gtk settings")
@@ -205,6 +207,7 @@ def __init__(self):
205
207
os.system(f"cp -R ./cfg.sd.tar.gz {DATA}/synchronization/{file}")
206
208
if os.path.exists(f"{CACHE}/save_config"):
209
print("THE CONFIGURATION HAS BEEN SAVED SUCCESSFULLY!")
210
+ os.system("rm saving_status")
211
212
class Import:
213
0 commit comments