Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

### Documentation / 文档
- 在公开检查点 `v0.2.0-beta.1` 发布之后,对齐仓库文档与该双版本 GitHub Release:澄清当前下载入口、编辑器试运行与 Professional 导出启动器的控制台语义,以及实验性 macOS CI 证据的分层表述。这些文档修订不属于已发布的 `v0.2.0-beta.1` GitHub Release 内容。

---

## [0.2.0-beta.1] - 2026-12-01
Expand Down Expand Up @@ -138,6 +141,30 @@ All notable changes to this project will be documented in this file.

---

## [0.1.0-beta.2] - 2026-07-15

This is a brief historical prerelease summary reconstructed from the published GitHub Release notes and contemporary documentation. The git tag and GitHub Release were not changed.

### Added / 新增
- 新增中英文 README
- 新增真实界面截图与文档

### Improved / 优化
- 重构拖拽生命周期,修复 Qt Item 删除问题
- 优化 Ghost Card 拖拽视觉效果
- 重构日志控制台布局
- 新增响应式日志工具栏
- 修复深浅主题下的边框问题
- 修复 SpinBox 在不同 DPI 下的显示问题

### Notes / 说明
- This is a beta release
- 当前版本仍属于 Beta 阶段,功能和界面细节后续可能继续调整
- 发布资产为当时的单一编辑器安装包 `LaunchFlow-v0.1.0-beta.2-win-x64.exe` 与 `SHA256.txt`,不是后来的双版本检查点
- 历史测试授权文件可能失效

---

## [0.1.0-beta] - 2026-04-05

### Added / 新增
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Application 步骤用于启动外部程序,本身不等待外部程序退出

当前公开下载同时提供 LaunchFlow Basic 与 LaunchFlow Professional,二者共享检查点 `v0.2.0-beta.1`。请用同页的 `SHA256.txt` 校验对应安装包;不要把历史预发布 `v0.1.0-beta.2` 的资产当成这一检查点的新安装包。

- Professional:从 [GitHub Releases](https://github.com/forgottenlab/launchflow/releases) 下载 `LaunchFlow-Professional-v0.2.0-beta.1-win-x64.exe`,并用同页的 `SHA256.txt` 校验。也可以从源码启动 `python -m editor.main`,或打包 `LaunchFlow.exe`。它保留 Command、Wait、高级 Application 配置、现有快捷方式打开方式,以及离线许可。用户数据位于 `%LOCALAPPDATA%\LaunchFlow`。
- Professional:从 [GitHub Release v0.2.0-beta.1](https://github.com/forgottenlab/launchflow/releases/tag/v0.2.0-beta.1) 下载 `LaunchFlow-Professional-v0.2.0-beta.1-win-x64.exe`,并用同页的 `SHA256.txt` 校验。也可以从源码启动 `python -m editor.main`,或打包 `LaunchFlow.exe`。它保留 Command、Wait、高级 Application 配置、现有快捷方式打开方式,以及离线许可。用户数据位于 `%LOCALAPPDATA%\LaunchFlow`。
- Basic:从同一 Release 下载 `LaunchFlow-Basic-v0.2.0-beta.1-win-x64.exe`,并用同页的 `SHA256.txt` 校验。也可以从源码启动 `python -m editor.main_basic`,或打包 `LaunchFlow-Basic.exe`。它只接受 Application 与 http/https URL,启动时不要求许可证,数据位于 `%LOCALAPPDATA%\LaunchFlow-Basic`。工作台不会提供 Command、Wait、应用启动参数或自定义间隔,导出的独立启动器也使用不含这些能力的受限运行器。

开发模式分别使用 `tools/run_editor_dev.ps1`(`LaunchFlow-Dev`)和 `tools/run_editor_basic_dev.ps1`(`LaunchFlow-Basic-Dev`)。默认的 `python tools/build_editor_release.py` 仍然只打包 Professional;Basic 需要显式加上 `--edition basic --non-interactive`。公开双版本资产可用 `python tools/package_public_release.py` 从已构建的 `LaunchFlow.exe` 与 `LaunchFlow-Basic.exe` 生成版本化文件名和组合 `SHA256.txt`。只需要 Basic 公开资产时,仍可使用 `python tools/package_basic_public_release.py`。
Expand All @@ -124,13 +124,13 @@ Application 步骤用于启动外部程序,本身不等待外部程序退出

因此,导出前应先在编辑器内试运行;导出后应在干净的 Windows 测试目录中再次运行生成的 EXE,并确认它没有在自身目录旁产生意外数据。向他人分发前,还应检查第三方软件的许可条款。

Professional 工作台在选择输出路径并开始打包前,会再次校验本地离线许可。许可有效时不会因为这次复核再弹出确认或提示,流程与原来的成功导出相同;许可缺失、无效、过期或不匹配时会提示并中止导出。Basic 导出不检查许可。
Professional 工作台在选择输出路径并开始打包前,会再次校验本地离线许可。许可有效时不会因为这次复核再弹出确认或提示,流程与原来的成功导出相同;许可缺失、无效、过期或不匹配时会提示并中止导出。Basic 导出不检查许可。 Professional 导出的独立启动器在执行命令步骤时会弹出可交互的控制台窗口(`CREATE_NEW_CONSOLE` 并继承标准输入输出),便于查看输出和交互;编辑器内试运行仍将输出捕获到日志面板,不弹出控制台。这不是完整的交互式终端功能。Basic 导出不包含命令步骤。

## ⚡ 快速开始

### 使用发布包

请从 [GitHub Releases](https://github.com/forgottenlab/launchflow/releases) 下载对应的 `LaunchFlow-Basic-v0.2.0-beta.1-win-x64.exe` 或 `LaunchFlow-Professional-v0.2.0-beta.1-win-x64.exe`,并用同页的 `SHA256.txt` 核对校验和。当前项目仍处于 Beta;这些公开包仅支持 Windows x86_64,不是稳定版或跨平台生产发布。若页面尚未出现所需资产,请使用下面的源码方式,不要从非官方位置获取可执行文件。
请从 [GitHub Release v0.2.0-beta.1](https://github.com/forgottenlab/launchflow/releases/tag/v0.2.0-beta.1) 下载对应的 `LaunchFlow-Basic-v0.2.0-beta.1-win-x64.exe` 或 `LaunchFlow-Professional-v0.2.0-beta.1-win-x64.exe`,并用同页的 `SHA256.txt` 核对校验和。当前项目仍处于 Beta;这些公开包仅支持 Windows x86_64,不是稳定版或跨平台生产发布。不要从非官方位置获取可执行文件。若你之前下载过同名的 Basic 安装包,校验和已经变化,请重新下载后再核对。

Basic 发布包的基本流程:

Expand Down Expand Up @@ -235,7 +235,7 @@ Beta 后续工作会优先围绕可靠性和可理解性推进:

1. 扩大真实 Windows 桌面、不同缩放比例和干净用户环境的回归覆盖。
2. 继续改善导出前依赖检查、失败定位和面向普通用户的提示。
3. 完善发布资产、校验信息、升级说明和可重复构建记录。
3. 继续完善升级说明和可重复构建记录;公开检查点已随发布提供同页 `SHA256.txt`。
4. 在不改变通用步骤定位的前提下优化方案组织、历史记录和可访问性。
5. 评估未来在线授权设计,但不会削弱现有离线签名验证边界。

Expand Down
8 changes: 4 additions & 4 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Before an upgrade, back up valuable plan JSON files and any application data tha

This release offers both LaunchFlow Basic and LaunchFlow Professional under the shared checkpoint `v0.2.0-beta.1`. Verify the chosen installer with the accompanying `SHA256.txt`. Do not treat the historical `v0.1.0-beta.2` assets as the new installers for this checkpoint.

- Professional: download `LaunchFlow-Professional-v0.2.0-beta.1-win-x64.exe` from [GitHub Releases](https://github.com/forgottenlab/launchflow/releases) and verify it with the accompanying `SHA256.txt`. You can also start `python -m editor.main` from source, or package `LaunchFlow.exe`. It keeps Command, Wait, advanced Application options, the existing shortcut-open behavior, and offline licensing. User data lives under `%LOCALAPPDATA%\LaunchFlow`.
- Professional: download `LaunchFlow-Professional-v0.2.0-beta.1-win-x64.exe` from [GitHub Release v0.2.0-beta.1](https://github.com/forgottenlab/launchflow/releases/tag/v0.2.0-beta.1) and verify it with the accompanying `SHA256.txt`. You can also start `python -m editor.main` from source, or package `LaunchFlow.exe`. It keeps Command, Wait, advanced Application options, the existing shortcut-open behavior, and offline licensing. User data lives under `%LOCALAPPDATA%\LaunchFlow`.
- Basic: download `LaunchFlow-Basic-v0.2.0-beta.1-win-x64.exe` from the same Release and verify it with the accompanying `SHA256.txt`. You can also start `python -m editor.main_basic` from source, or package `LaunchFlow-Basic.exe`. It accepts only Application and http/https URL steps, does not require a license at startup, and stores data under `%LOCALAPPDATA%\LaunchFlow-Basic`. The workbench does not offer Command, Wait, application arguments, or custom delays, and exported standalone launchers use a restricted runner that does not embed those capabilities.

Developer mode uses `tools/run_editor_dev.ps1` (`LaunchFlow-Dev`) and `tools/run_editor_basic_dev.ps1` (`LaunchFlow-Basic-Dev`). The default `python tools/build_editor_release.py` command still packages only Professional; Basic requires an explicit `--edition basic --non-interactive`. The public dual-edition asset names and combined `SHA256.txt` can be produced from already-built `LaunchFlow.exe` and `LaunchFlow-Basic.exe` with `python tools/package_public_release.py`. The Basic-only helper `python tools/package_basic_public_release.py` remains available.
Expand All @@ -124,13 +124,13 @@ The result is a Windows onefile launcher created for the current plan. It contai

Always test the plan in the editor before export. Then run the generated EXE again from a clean Windows test directory and verify that it does not leave unexpected runtime data beside itself. Review the distribution terms of every third-party application before sharing a bundled launcher.

The Professional workbench re-checks the local offline license before the export file dialog and packaging start. If the license is valid, export continues exactly as a successful export does today, with no extra confirmation for the check. If the license is missing, invalid, expired, or bound to another machine, LaunchFlow shows a warning and does not complete the export. Basic export does not check a license.
The Professional workbench re-checks the local offline license before the export file dialog and packaging start. If the license is valid, export continues exactly as a successful export does today, with no extra confirmation for the check. If the license is missing, invalid, expired, or bound to another machine, LaunchFlow shows a warning and does not complete the export. Basic export does not check a license. A Professional exported launcher opens an interactive console window for Command steps (`CREATE_NEW_CONSOLE`, with inherited standard I/O) so output and interaction are visible; editor trial runs still capture output in the log panel and do not open a console. This is not a complete interactive-terminal feature. Basic export does not include Command steps.

## ⚡ Quick Start

### Using a packaged build

Download `LaunchFlow-Basic-v0.2.0-beta.1-win-x64.exe` or `LaunchFlow-Professional-v0.2.0-beta.1-win-x64.exe` from [GitHub Releases](https://github.com/forgottenlab/launchflow/releases), then verify the chosen file with the accompanying `SHA256.txt`. LaunchFlow is still in Beta. These public packages are Windows x86_64 only; they are not a stable or cross-platform production release. If the required asset is not present on that page, use the source workflow below instead of downloading an executable from an unofficial location.
Download `LaunchFlow-Basic-v0.2.0-beta.1-win-x64.exe` or `LaunchFlow-Professional-v0.2.0-beta.1-win-x64.exe` from [GitHub Release v0.2.0-beta.1](https://github.com/forgottenlab/launchflow/releases/tag/v0.2.0-beta.1), then verify the chosen file with the accompanying `SHA256.txt`. LaunchFlow is still in Beta. These public packages are Windows x86_64 only; they are not a stable or cross-platform production release. Do not download an executable from an unofficial location. If you previously downloaded a same-named Basic installer, the checksum has changed; download it again and re-verify.

A normal Basic packaged workflow is:

Expand Down Expand Up @@ -235,7 +235,7 @@ Work after this Beta checkpoint will concentrate on reliability and clarity:

1. Extend physical Windows coverage across display scaling settings and clean user environments.
2. Improve pre-export dependency review, failure localization, and explanations for non-technical users.
3. Complete public release assets, checksum publication, upgrade notes, and repeatable build evidence.
3. Continue improving upgrade notes and repeatable build evidence; the public checkpoint already ships an on-page `SHA256.txt`.
4. Refine plan organization, history, and accessibility without changing the general-purpose four-step model.
5. Evaluate a future online-authorization design without weakening the existing signed offline boundary.

Expand Down
8 changes: 4 additions & 4 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,15 +329,15 @@ Basic 导出启动器的日志写在 `%LOCALAPPDATA%\LaunchFlow-Basic` 下。

- 源码试运行调用链为 `MainWindow` → `TrialRunWorker(QThread)` → `RuntimeExecutor` → `runtime.command_runner`。Qt 主线程只接收 Signal 日志,不直接等待子进程。
- Command、Application 与 URL 保持独立语义:Command 等待完成并捕获 stdout/stderr/return code;Application 与 URL 分别由 `shared/platform/applications.py` 和 `shared/platform/urls.py` 构造不可变启动规格,runtime 仍拥有 fire-and-forget `Popen` 或 `os.startfile` 的实际执行。
- Windows Command 使用 `CREATE_NO_WINDOW`、`STARTF_USESHOWWINDOW`、`SW_HIDE`。cmd 前缀为 `cmd.exe /d /s /c`,PowerShell 为无 Profile、NonInteractive 调用。
- 编辑器试运行中的 Windows Command 使用 `CREATE_NO_WINDOW`、`STARTF_USESHOWWINDOW`、`SW_HIDE`。cmd 前缀为 `cmd.exe /d /s /c`,PowerShell 为无 Profile、NonInteractive 调用。Professional 导出启动器中的 Command 步骤改用 `CREATE_NEW_CONSOLE` 并继承标准输入输出,会弹出可交互控制台;这不是完整的交互式终端功能。Basic 导出启动器不包含 Command。
- 导出启动器是独立嵌入式执行器,不直接导入源码 RuntimeExecutor;构建器把 Command、Application 与 URL 的共享启动规格写入深拷贝后的内部方案,随包应用资产仍从 `_MEIPASS/launchflow_assets` 解析,用户方案 JSON 不包含这些内部字段。
- `editor/main.py` 在创建 QApplication 前设置 `forgottenlab.launchflow.editor`,并从源码 `assets/` 或 frozen `_MEIPASS/assets/` 加载 ICO。
- PyInstaller 构建必须在完整 Conda 激活环境中执行,尤其需让 `Library/bin` 进入 PATH,以便正确收集运行时 DLL。

## 11. Command pipe and license administration boundaries

- UI 试运行链路为 `MainWindow` → `TrialRunWorker(QThread)` → `RuntimeExecutor` → `runtime.command_runner.execute_command`。
- Command 使用参数列表、`shell=False`、`stdin=DEVNULL`、stdout/stderr PIPE 和 `communicate()`;Windows 保留 `CREATE_NO_WINDOW`。含双引号的 cmd 文本使用一次性环境变量恢复引号,避免 Python C-runtime quoting 向 cmd 注入反斜杠。
- 编辑器试运行链路中,Command 使用参数列表、`shell=False`、`stdin=DEVNULL`、stdout/stderr PIPE 和 `communicate()`;Windows 保留 `CREATE_NO_WINDOW`。含双引号的 cmd 文本使用一次性环境变量恢复引号,避免 Python C-runtime quoting 向 cmd 注入反斜杠。
- `success/failed` 只表示业务结果;按钮重新启用和 worker 引用释放必须等待 `QThread.finished`。
- 非零 return code 是已成功启动并完成的进程结果,保留两路输出后记录失败,但不伪装成启动异常。
- 客户端申请码由 `licensing/request_token.py` 管理;`LFREQ1` 包含非秘密请求元数据和复制损坏校验和,旧申请码保持兼容。
Expand Down Expand Up @@ -392,7 +392,7 @@ Basic 导出启动器的日志写在 `%LOCALAPPDATA%\LaunchFlow-Basic` 下。
- 历史目标先安全解析到临时对象,再决定是否替换 `current_plan`,因此文件缺失或 JSON 损坏不会破坏当前编辑状态,也不改变方案 schema。
- `calculate_drop_target()` 集中处理首项上/下半区与 20px 首尾扩展区;自定义 drag layer 只负责视觉和插入索引,最终仍调用 `reorder_steps()`。
- `LogConsole` 以 `LogKind` 和 `QTextCharFormat` 增量写入 QTextDocument,最多保留 4000 blocks;磁盘 logger 始终保存原始纯文本。
- 日志仅在用户位于底部时自动跟随;用户向上查看时保留位置并显示“有新输出”。collapsed/normal/expanded 只改变 splitter 预设,不改变运行日志或 Command 隐藏终端语义。
- 日志仅在用户位于底部时自动跟随;用户向上查看时保留位置并显示“有新输出”。collapsed/normal/expanded 只改变 splitter 预设,不改变运行日志或编辑器试运行中 Command 的隐藏终端语义。

## 17. 拖拽生命周期、响应式日志工具栏与分段输入控件

Expand Down Expand Up @@ -526,7 +526,7 @@ LaunchFlow 现在是同一产品的两个独立分发版本:Basic 与 Professi
### Professional / 当前默认产品入口

- 启动 `python -m editor.main`,打包 `LaunchFlow.exe`,或从同一 `v0.2.0-beta.1` Release 下载 `LaunchFlow-Professional-v0.2.0-beta.1-win-x64.exe`。
- 保留 Command、Wait、应用启动参数、自定义延迟以及现有快捷方式打开方式;工作台界面保持原样。
- 保留 Command、Wait(已保存步骤仍可加载和运行)、应用启动参数、自定义延迟以及现有快捷方式打开方式。工作台不再提供“+ 等待”按钮;步骤间隔请使用“后续延迟”。
- 启动时检查离线许可;数据目录为 `%LOCALAPPDATA%\LaunchFlow`,开发模式为 `LaunchFlow-Dev`(`tools/run_editor_dev.ps1`)。
- Professional 导出继续使用既有 `EMBEDDED_TEMPLATE`,其内容保持不变。
- 工作台导出前会再做一次无感许可复核:许可有效时不额外提示,许可缺失、无效、过期或不匹配时警告并中止导出。底层 `build_single_file_exe()` 仍不读取许可证。导出 exe 不是 Professional 独有能力。
Expand Down
Loading
Loading