mirror of
https://github.com/fastogt/pyfastogt
synced 2025-02-14 19:02:04 +00:00
Regenerate machine id
This commit is contained in:
parent
77c30609a9
commit
15773e1971
2 changed files with 9 additions and 1 deletions
8
pyfastogt/exe/regenerate_machine_id
Executable file
8
pyfastogt/exe/regenerate_machine_id
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
from os import remove
|
||||||
|
from sys import argv
|
||||||
|
from pyfastogt import utils
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
utils.regenerate_dbus_machine_id()
|
||||||
|
remove(argv[0])
|
2
setup.py
2
setup.py
|
@ -121,5 +121,5 @@ setup(
|
||||||
cmdclass={
|
cmdclass={
|
||||||
'upload': UploadCommand
|
'upload': UploadCommand
|
||||||
},
|
},
|
||||||
scripts=["pyfastogt/exe/request_fastogt_license_key"]
|
scripts=['pyfastogt/exe/request_fastogt_license_key', 'pyfastogt/exe/regenerate_machine_id']
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue