New scrollbar + developing versions and autoupdates

This commit is contained in:
BarsTiger
2022-04-26 09:07:52 +03:00
parent b019b46411
commit 8c3589baae
5 changed files with 144 additions and 10 deletions

View File

@@ -29,7 +29,10 @@ os.system('title horsy')
if not os.path.exists(horsy_vars.horsypath + 'apps'):
os.makedirs(horsy_vars.horsypath + 'apps')
if not os.path.isfile(horsy_vars.horsypath + 'config.cfg'):
with open(horsy_vars.horsypath + 'config.cfg', 'w') as f:
with open(horsy_vars.horsypath + 'config.cfg', 'w+') as f:
f.write('{}')
if not os.path.isfile(horsy_vars.horsypath + 'apps/versions.json'):
with open(horsy_vars.horsypath + 'apps/versions.json', 'w+') as f:
f.write('{}')
# Checking version