diff --git a/backend.py b/backend.py index 12897c1..0721886 100644 --- a/backend.py +++ b/backend.py @@ -1146,6 +1146,7 @@ def backup_libraryroot_css(install_location="Steam"): try: local_libraryroot_custom_css = "libraryroot.custom.css" if install_location == "Steam": + libraryroot_dir = library_dir() libraryroot_custom_css = library_dir() + "/" + "libraryroot.custom.css" libraryroot_custom_css_backup = library_dir() + "/" + "libraryroot.custom.css.backup" libraryroot_custom_css_backup2 = library_dir() + "/" + "libraryroot.custom.css.backup2" @@ -1153,6 +1154,7 @@ def backup_libraryroot_css(install_location="Steam"): local_skin_json = "skin.json" skin_json = skins_dir() + "/" + "skin.json" skin_json_backup = skins_dir() + "/" + "skin.json.backup" + libraryroot_dir = skins_dir() libraryroot_custom_css = skins_dir() + "/" + "libraryroot.custom.css" libraryroot_custom_css_backup = skins_dir() + "/" + "libraryroot.custom.css.backup" libraryroot_custom_css_backup2 = skins_dir() + "/" + "libraryroot.custom.css.backup2" @@ -1174,6 +1176,7 @@ def backup_libraryroot_css(install_location="Steam"): print("backed up libraryroot.custom.css to " + libraryroot_custom_css_backup) shutil.copy2(local_libraryroot_custom_css, libraryroot_custom_css) elif not os.path.isfile(libraryroot_custom_css): + Path(libraryroot_dir).mkdir(parents=True, exist_ok=True) shutil.copy2(local_libraryroot_custom_css, libraryroot_custom_css) print("File " + local_libraryroot_custom_css + " written to " + libraryroot_custom_css) diff --git a/old_glory.py b/old_glory.py index ba1d12c..51bd05d 100644 --- a/old_glory.py +++ b/old_glory.py @@ -25,7 +25,7 @@ class OldGloryApp(tk.Tk): def __init__(self, *args, **kwargs): - self.version = "1.1.3.1" + self.version = "1.1.3.2" self.release = "5.14.1" ### Window Frame diff --git a/skin.json b/skin.json index 339a447..c2287f0 100644 --- a/skin.json +++ b/skin.json @@ -10,11 +10,7 @@ "author": "Jonius7", "description": "OldGlory comes to Millennium!", "name": "OldGlory", - "version": "1.0.0", - "github": { - "owner": "Jonius7", - "repo_name": "SteamUI-OldGlory" - }, + "version": "1.0.1", "discord_support": { "inviteCodeExcludingLink": "hScVrvxJWy" },