您的位置:首页 > 汽车 > 新车 > 公司logo设计案例_哲程软件_适合女生去的培训机构_seo快速排名案例

公司logo设计案例_哲程软件_适合女生去的培训机构_seo快速排名案例

2025/6/19 10:16:24 来源:https://blog.csdn.net/weixin_43191327/article/details/147194271  浏览:    关键词:公司logo设计案例_哲程软件_适合女生去的培训机构_seo快速排名案例
公司logo设计案例_哲程软件_适合女生去的培训机构_seo快速排名案例

1. 通用配置

# 设置输出目录和文件名output_dir = "dist"app_name = "CursorAutoFree"# 基础命令行选项base_options = ["--follow-imports",  # 跟踪导入"--enable-plugin=tk-inter",  # 启用 Tkinter 支持"--include-package=customtkinter",  # 包含 customtkinterf"--include-data-dir=src/utils/turnstilePatch=turnstilePatch",  # 包含数据目录f"--include-data-files=src/core/names-dataset.txt=names-dataset.txt",  # 包含具体的 txt 文件"--include-data-dir=src/config=src/config",  # 包含配置目录"--show-memory",  # 显示内存使用"--show-progress",  # 显示进度"--nofollow-import-to=tkinter.test",  # 排除测试模块"--nofollow-import-to=PIL.ImageQt",  # 排除 Qt 相关"--remove-output",  # 删除之前的输出f"--output-dir={output_dir}",  # 输出目录f'--output-file="{app_name}"',  # 输出文件名]

2.macos

 ["--macos-create-app-bundle",  # macOS 创建 .app(默认就是 GUI 模式)"--macos-app-icon=src/assets/app_icon.icns",  # 添加 macOS 应用图标f'--macos-app-name="{app_name}.app"',  # macOS应用名称]

3. windows

 ["--windows-console-mode=disable",  # Windows 禁用控制台"--windows-icon-from-ico=src/assets/app_icon.ico",  # Windows 应用图标]

使用 github action 配置自动打包(目前只做了windows)

这里讲一下,nuitka 打包真的很慢;不过打包的应用启动的还挺快

build-windows:runs-on: windows-lateststeps:- uses: actions/checkout@v4- name: Set up Pythonuses: actions/setup-python@v5with:python-version: '3.x'architecture: 'x64'cache: 'pip'cache-dependency-path: |**/requirements*.txt- name: Install Dependenciesrun: |pip install -r requirements.txt- name: Build Windows Executableuses: Nuitka/Nuitka-Action@mainwith:nuitka-version: mainscript-name: CursorAutoFree.pymode: onefileenable-plugins: tk-interinclude-package: customtkinterinclude-data-dir: |src/utils/turnstilePatch=turnstilePatchsrc/config=src/configinclude-data-files: src/core/names-dataset.txt=names-dataset.txtwindows-console-mode: disablewindows-icon-from-ico: src/assets/app_icon.icooutput-filename: CursorAutoFree- name: Upload Windows artifactuses: actions/upload-artifact@v4with:name: CursorPro-Windowspath: build/include-hidden-files: true

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com