ADDED launch non encrypted file
This commit is contained in:
parent
f9775d3676
commit
da8ea99ed6
1 changed files with 4 additions and 1 deletions
|
@ -27,4 +27,7 @@ def decrypt(filename, key):
|
||||||
|
|
||||||
return decrypted_data.decode('utf-8')
|
return decrypted_data.decode('utf-8')
|
||||||
|
|
||||||
|
if os.path.exists(os.path.join('data', 'main.py')):
|
||||||
|
exec(os.path.join('data', 'main.py'))
|
||||||
|
else:
|
||||||
exec(decrypt(os.path.join('data', 'sundpood-runtime.sr') , key.KEY))
|
exec(decrypt(os.path.join('data', 'sundpood-runtime.sr') , key.KEY))
|
||||||
|
|
Loading…
Add table
Reference in a new issue