dashingsoft / pyarmor

A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.

Home Page:http://pyarmor.dashingsoft.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] `Error message`如何使用python -m pyarmor.cli.hdinfo打包成exe在客户电脑上获取Machine ID值。

wjl130825 opened this issue · comments

Please read this first before report any issue
https://pyarmor.readthedocs.io/en/latest/questions.html

If this issue has been documented and there is solution in FAQ, it will be marked as documented and be closed it immediately.

Do not ask questions here but in discussions, it will be closed immediately.

A good report should have

  • A clear title
  • Reproduced steps
  • Expected results and actual results

Please also provide necessary log (but not full log), for example, the whole command options pyarmor gen and first 4 logs in the console, paste the text directly, DO NOT paste IMAGE

$ pyarmor gen -O dist --assert-call foo.py
INFO     Python 3.10.0
INFO     Pyarmor 8.4.0 (trial), 000000, non-profits
INFO     Platform darwin.x86_64

In order to save time for both of us, if the bug report is not clear or missing necessary information, it will be marked as invalid and be closed immediately.

求助问题请到讨论区,规范提交报告

你可以直接创建一个脚本 foo.py

from pyarmor.cli.hdinfo import main
main()

然后使用 pyinstaller 打包

pyinstaller -F foo.py

如果没有用过 pyinstaller 请查看文档自己学习