Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lzcapp committed Jul 5, 2024
1 parent 009cb11 commit cb4192a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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('\\', '')
Expand Down Expand Up @@ -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
)

0 comments on commit cb4192a

Please sign in to comment.