简体   繁体   中英

How to obfuscate and pack a whole project with pyarmor?

I was planning to obfuscate and create a executable file for my project. The problem is when I pack, the "rsc" folder are not included in the packed project but just the Spring.py.

Can anyone help me ? Best regards,

在此处输入图片说明

嗨,据我所知,您可以先对脚本进行混淆,然后使用 pyinstaller 通常选择混淆的文件,它会创建您的可执行文件。

使用内置的pack参数,并包含 --add-data 以包含您的文件夹

pyarmor pack -e " --onefile --icon=logo.ico --add-data path/to/dir;dest/dir" Spring.py

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM