From cb4192a9d6f488a95cd73141af3f4ad080cb60aa Mon Sep 17 00:00:00 2001 From: Laurence Luo Date: Fri, 5 Jul 2024 21:26:41 +0800 Subject: [PATCH] Update app.py --- app.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 5fe9137..d15228a 100644 --- a/app.py +++ b/app.py @@ -101,7 +101,7 @@ def GenerateLicense(Type: int, Count: int, UserName: str, MajorVersion: int, Min MajorVersion, MinorVersion, MinorVersion, 0, # Unknown 0, # No Games flag. 0 means "NoGames = false". But it does not work. - 0 # No Plugins flag. 0 means "NoPlugins = false". But it does not work. + 0 # No Plugins flag. 0 means "NoPlugins = false". But it does not work. ) EncodedLicenseString = VariantBase64Encode(EncryptBytes(0x787, LicenseString.encode())).decode() FileName = EncodedLicenseString.replace('/', '').replace('\\', '') @@ -150,4 +150,8 @@ def index(): if __name__ == '__main__': - app.run(host='0.0.0.0', port=5000, debug=False) + app.run( + '0.0.0.0', + 5000, + False + )