New scrollbar + developing versions and autoupdates
This commit is contained in:
5
horsy.py
5
horsy.py
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user