217 Commits

Author SHA1 Message Date
muzing
8a422a1bb4 Fix get runtime language code
解决在 Windows 平台获取的语言编码不符合 RFC1766 的问题;
2023-12-10 03:55:41 +08:00
muzing
4646bbc7de Update ROADMAP 2023-12-09 17:35:31 +08:00
muzing
c8cffc3b8e Refactor the sub-widget button slot-funcs into MainApp
将主界面打包按钮槽函数、子进程对话框多功能按钮槽函数移动至 `MainApp` 中,避免了子控件中调用父控件属性的问题;
2023-12-09 17:07:02 +08:00
muzing
a7aaba1705 Add dev script func check_mypy() 2023-12-09 16:57:12 +08:00
muzing
7a6d41cc3e Upgrade versions of dev dependencies
Black 22.12->23.11
Ruff 0.1.6->0.1.7
2023-12-09 16:48:00 +08:00
muzing
4d46410709 Update runtime-info
完善获取运行时信息的方式:
添加 `RuntimeInfo` 具名元组数据类,便于管理运行时信息;
添加获取运行时语言代码功能;
2023-12-09 11:14:44 +08:00
muzing
b80b6df629 Update subprocess
增强 `SubProcessTool` 调试能力,添加当子进程发生错误时向终端输出的警告信息;
调整启动子进程与显示对话框窗口的顺序,确保子进程输出信息能够被捕获;
增加将 `IconFileDlg` 默认打开目录自动设置为脚本所在目录的功能;
2023-12-09 09:35:48 +08:00
muzing
b63134e895 Add "Run as Script" program entry
增加以脚本形式启动主程序的入口方式;
2023-12-08 23:08:14 +08:00
muzing
68fad69821 Bug fix: RUNTIME_PLATFORM
修复由于修改主文件中获取运行时平台方式,但忘记修改 `SubProcessDlg` 对应代码导致的问题;
2023-12-08 09:42:12 +08:00
muzing
aadc437e94 Add Dependabot config file
为项目启用 Dependabot,自动更新依赖项版本;
2023-12-08 09:19:11 +08:00
木子
6f8cd95b4b
Merge pull request #7 from muziing/dev
Version `0.1.11`
2023-12-08 02:20:45 +08:00
muzing
4c9d927c21 Version 0.1.11
增强参数浏览器功能,用户可直接从其中复制打包命令到终端或脚本中使用;
v0.1.11-alpha
2023-12-08 02:17:23 +08:00
muzing
cd177cbba8 Update ArgumentsBrowser
更新 `ArgumentsBrowser`:
将显示的PyInstaller命令参数从列表转换为字符串,用户可直接复制字符串到终端中运行或保存为脚本;
添加命令行换行,提高命令可读性;
2023-12-08 01:50:05 +08:00
muzing
538c43330d Update handling of runtime platforms
更新对运行时平台的处理方式,用全局变量保存,避免从子控件获取父控件属性;
添加获取运行时平台命令行续行符的功能;
2023-12-08 01:47:40 +08:00
muzing
72990a0680 Update dev scripts
更新开发辅助脚本:
将所有用到的相对路径存储至统一位置;
将所有检查函数的名称与返回值行为统一;
添加 `check_license_statement()` 函数;
2023-12-04 21:54:06 +08:00
muzing
634174eeeb Merge branch 'dev' 2023-12-04 16:45:26 +08:00
muzing
1c5c615a53 Upgrade versions of dev dependencies
PyInstaller 5.13->6.2
2023-11-29 20:33:55 +08:00
木子
8068f43389
Merge pull request #6 from muziing/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2023-11-21 09:34:23 +08:00
pre-commit-ci[bot]
ede21028d8
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.5 → v0.1.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.5...v0.1.6)
2023-11-20 20:26:59 +00:00
木子
614f3079ff
Merge pull request #5 from muziing/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2023-11-16 08:57:19 +08:00
pre-commit-ci[bot]
9b06c19b09
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.10.1 → 23.11.0](https://github.com/psf/black/compare/23.10.1...23.11.0)
- [github.com/astral-sh/ruff-pre-commit: v0.1.4 → v0.1.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.4...v0.1.5)
2023-11-13 21:05:03 +00:00
muzing
7c293aafce Fix GitHub image url 2023-11-12 22:01:28 +08:00
木子
30ba86fa1a
Merge pull request #4 from muziing/dev
Version `0.1.10`
2023-11-12 21:32:51 +08:00
muzing
da85747f6a Version 0.1.10
由于当前 PyInstaller [不支持 Python 3.12](https://github.com/pyinstaller/pyinstaller/issues/7992),故移除本项目对 3.12 的支持
v0.1.10-alpha
2023-11-12 21:30:45 +08:00
muzing
b291229cd3 Update README
更新README:
替换一处https链接;
移除运行指南中对 PyInstaller 版本的限制;
2023-11-12 21:28:11 +08:00
muzing
f98a1334d8 Add script for project build
添加用于构建项目的脚本;
更新缓存清理模块,添加清理 `__pycache__` 的函数;
2023-11-12 20:54:01 +08:00
木子
018a9b1253
Merge pull request #3 from muziing/dev
Merge version `0.1.9`
2023-11-11 21:07:42 +08:00
muzing
fb9a714a10 Update clear_pyinstaller_dist.py 2023-11-11 21:01:56 +08:00
muzing
29c8357b4f Fix typo
补充修正 PySide6 版本信息与 `requirements.txt`
2023-11-11 20:45:28 +08:00
muzing
80bb539781 Code lint
依各代码检查工具提示,微调代码改进质量;
2023-11-11 20:32:16 +08:00
muzing
c8c76c19b0 Version 0.1.9
以更新依赖项为主的小版本更新;
版权信息添加至2023年;
增加 `pre-commit`、`ruff` 等开发工具,进一步提高代码质量;
2023-11-11 20:29:52 +08:00
muzing
8508aaa630 Add pre-commit config file
将 pre-commit 加入工作流
2023-11-11 20:14:35 +08:00
muzing
b7da76a1f7 Usual update
更新README中Copyright信息;
更新开发依赖版本;
2023-02-01 19:18:40 +08:00
muzing
55fc02d6a0 Usual update
更新README:添加PyPI月下载量标签;
开发时主要Python版本从3.10迁移至3.11;
更新开发待办事项;
更新开发依赖版本;
2023-01-05 17:10:45 +08:00
muzing
72c00b5a59 Upgrade versions of dev dependencies 2022-12-29 01:21:51 +08:00
muzing
9b45c7583d Merge branch 'dev' 2022-12-11 19:53:52 +08:00
muzing
610c925236 Optimize highlighting colors in ArgumentsBrowser
优化 `ArgumentsBrowser` 中的高亮色彩;
2022-12-11 19:52:32 +08:00
muzing
a2794aa61f Add a dev script: cache clean
添加清理 PyInstaller 打包输出的简易开发工具脚本;
2022-12-11 19:50:46 +08:00
muzing
a42d1ffa9b Add support for PyInstaller option --clean
添加对 PyInstaller `--clean` 选项的支持;
2022-12-11 16:59:44 +08:00
muzing
b06e6331d2 Update ROADMAP
更新开发待办事项;
2022-12-10 22:14:07 +08:00
muzing
3821c76dac Add version info to status bar
在主窗口状态栏上添加版本信息显示功能;
2022-12-10 22:09:57 +08:00
muzing
d6050c442e Upgrade versions of dev dependencies
black 22.10.0->22.12.0
2022-12-10 21:05:24 +08:00
muzing
2ac66c6948 Fix typo 2022-12-10 21:04:42 +08:00
muzing
bae2dae95f Refactor SubProcessDlg class
重构 `SubProcessDlg` 到单独的模块中;
`SubProcessDlg` 新增关闭窗口时清理功能;
2022-12-09 10:05:00 +08:00
muzing
5148b8a668 Version 0.1.8
修复:打包子进程工作目录错误、PyInstaller调用失败时无任何反馈;
优化:常量使用枚举值、优化参数传递、优化`SubProcessTool`工具类;
新增:英文版“关于”页;
v0.1.8-alpha
2022-12-07 22:20:09 +08:00
muzing
5e010b4bcc Optimize SubProcessTool Packaging
优化 `SubProcessTool` 工具类:添加进程启动超时功能、工作目录设置新增对 pathlib 风格的支持、其他微小调整;
优化 `Packaging` 类中参数拼接;
2022-12-07 22:01:23 +08:00
muzing
cc59a80602 Fix bug
修复当无法启动 PyInstaller 子进程时没有任何反馈的问题;
2022-12-07 15:58:10 +08:00
muzing
b2f7fffc53 Optimize PLATFORM class with enum
将 `PLATFORM` 改为枚举值类;
优化 type hint;
2022-12-07 15:56:00 +08:00
muzing
b049835a5b Add the English about text
添加英文版“关于”文本;
2022-12-07 15:46:05 +08:00
muzing
077b36ab11 Update SubProcessTool
实现 `SubProcessTool` 中对子进程错误的处理;
改进 type hint;
其他微小优化;
2022-12-07 15:33:41 +08:00