Added reset userExceptions

This commit is contained in:
Lx32 2024-09-03 22:16:07 +02:00 committed by GitHub
parent d355e56e65
commit 78fe802e4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,6 +8,7 @@ def resetfun(rdhome):
if not os.path.isfile(srm_path): if not os.path.isfile(srm_path):
print("Steam ROM Manager configuration not initialized! Initializing now.") print("Steam ROM Manager configuration not initialized! Initializing now.")
shutil.copyfile("/app/libexec/steam-sync/userConfigurations.json", srm_path) shutil.copyfile("/app/libexec/steam-sync/userConfigurations.json", srm_path)
shutil.copyfile("/app/libexec/steam-sync/userExceptions.json", srm_path)
with open(srm_path,"r") as f: with open(srm_path,"r") as f:
data=f.read() data=f.read()