mirror of
https://github.com/LTEnjoy/easyChat.git
synced 2026-11-29 13:57:58 +08:00
14 lines
317 B
Python
14 lines
317 B
Python
import os
|
|
|
|
|
|
# 用来自动打包成exe程序
|
|
def main():
|
|
cmd = f"pyinstaller.exe -Fw --noupx --collect-submodules versions D:\PycharmProjects\easyChat\wechat_gui.py --distpath D:\PycharmProjects\easyChat\dist"
|
|
|
|
# 执行命令并打印输出
|
|
result = os.system(cmd)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|