Skip to content

Commit

Permalink
Fixing any weird directory paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonius7 committed Jan 4, 2021
1 parent a31291c commit e8a8794
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,10 +740,10 @@ def clean_slate_css():
#f.write(OS_line_ending())
f.close()
if os.path.isfile(library_dir() + "/" + "libraryroot.custom.css"):
shutil.move(library_dir() + "/libraryroot.custom.css", library_dir() + "/libraryroot.custom.css.backup")
shutil.move(library_dir() + "/libraryroot.empty.css", library_dir() + "/libraryroot.custom.css")
shutil.move(library_dir() + "/" + "libraryroot.custom.css", library_dir() + "/" + "libraryroot.custom.css.backup")
shutil.move(library_dir() + "/" + "libraryroot.empty.css", library_dir() + "/" + "libraryroot.custom.css")
print("libraryroot.custom.css in Steam directory emptied out, backup at libraryroot.custom.css.backup")
shutil.copy2("themes/config.css.original", library_dir() + "/config.css")
shutil.copy2("themes/config.css.original", library_dir() + "/" + "config.css")

except:
print("Was not able to completely reset libraryroot.custom.css.", file=sys.stderr)
Expand Down
4 changes: 2 additions & 2 deletions old_glory.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

class OldGloryApp(tk.Tk):
def __init__(self, *args, **kwargs):
self.version = "v0.9.6.9 Beta"
self.release = "5.0"
self.version = "v0.9.6.11 Beta"
self.release = "5.0.1"

### Window, Title, Icon setup
tk.Tk.__init__(self, *args, **kwargs)
Expand Down

0 comments on commit e8a8794

Please sign in to comment.