Skip to content

Releases: lxw112190/lw.Web2App

v0.2.7

Choose a tag to compare

@github-actions github-actions released this 05 Sep 01:54

Full Changelog: v0.2.6...v0.2.7

v0.2.6

Choose a tag to compare

@github-actions github-actions released this 05 Sep 00:49

Full Changelog: v0.2.5...v0.2.6

v0.2.5

Choose a tag to compare

@github-actions github-actions released this 24 Aug 16:24

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

v0.2.4

Choose a tag to compare

@github-actions github-actions released this 24 Aug 08:52

Full Changelog: v0.2.3...v0.2.4

v0.2.3

Choose a tag to compare

@github-actions github-actions released this 23 Aug 09:04

Full Changelog: v0.2.2...v0.2.3

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 21 Aug 03:54

Full Changelog: v0.2.1...v0.2.2

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 16 Aug 04:53

lw.Web2App v0.2.1

本版本主要增强了通过 Backend Proxy 进行文件下载的能力,重点改进大文件下载、Range 请求、跨平台原生保存以及代理传输稳定性。

This release mainly improves file downloading through the Backend Proxy, with a focus on large-file streaming, Range requests, native save dialogs, and proxy transfer reliability.

✨ Highlights / 主要更新

  • 新增 Backend Proxy 文件下载支持
    Added file download support through Backend Proxy

  • 大文件采用流式转发,不再完整加载到内存
    Large files are now streamed instead of being fully buffered in memory

  • 新增有界缓冲和背压机制,降低大文件下载时的内存占用
    Added bounded buffering and backpressure to reduce memory usage during large downloads

  • 支持 Content-Disposition: attachment 下载响应
    Added support for Content-Disposition: attachment responses

  • 支持 HTTP Range 请求和 206 Partial Content 响应
    Added support for HTTP Range requests and 206 Partial Content responses

  • Windows WebView2 新增原生“另存为”下载处理
    Added native Save As handling for WebView2 on Windows

  • Linux WebKitGTK 新增原生“另存为”下载处理
    Added native Save As handling for WebKitGTK on Linux

  • 支持 UTF-8 和中文建议文件名
    Added support for UTF-8 and Chinese suggested filenames

  • 下载取消时可同步终止后端流读取
    Backend streaming is stopped when a download is cancelled

  • 优化下载失败、中断和异常处理
    Improved handling of failed, interrupted, and aborted downloads

  • 新增 Backend Proxy 下载相关回归测试
    Added regression tests for Backend Proxy downloads

🚀 Download Architecture / 下载架构

Web Application
      │
      │ /__lw_proxy__/api/download
      ↓
lw.Web2App BackendProxy
      │
      │ Streaming
      ↓
Backend Server
      │
      │ Content-Disposition: attachment
      ↓
lw.Web2App BackendProxy
      │
      │ Streaming
      ↓
WebView2 / WebKitGTK
      │
      ↓
Native Save As Dialog
      │
      ↓
Local File

通过新的流式代理机制,大文件下载不再需要先完整存入内存,可以更好地支持 Excel、PDF、ZIP、视频以及其他较大的文件。

With the new streaming proxy mechanism, large downloads no longer need to be fully buffered in memory, making lw.Web2App better suited for Excel, PDF, ZIP, video, and other large-file downloads.

📦 Platforms / 平台

  • Windows 10 / 11 x64
  • Ubuntu 22.04 x64
  • Ubuntu 24.04 x64

🔄 Upgrade / 升级说明

v0.2.1 与 v0.2.0 的 Payload 格式保持兼容,现有 LWWEB002 应用格式无需迁移。

v0.2.1 remains compatible with the v0.2.0 Payload format. Existing LWWEB002 application packages do not require migration.

感谢使用 lw.Web2App。

Thanks for using lw.Web2App.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 14 Aug 17:04

Full Changelog: v0.1.1...v0.2.0

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 14 Aug 08:34

Full Changelog: v0.1.0...v0.1.1

lw.Web2App v0.1.0 — Web 项目一键打包为 Windows EXE / Linux 应用

Choose a tag to compare

@github-actions github-actions released this 13 Aug 16:07

lw.Web2App v0.1.0

lw.Web2App 是一款使用 C++17 开发的跨平台 Web 应用打包工具,可将 HTML、Vue、React、Vite 等项目的静态构建产物快速转换为桌面应用。

主要功能

  • 将静态网页目录打包为单个 Windows EXE
  • 支持 Ubuntu 22.04、24.04(Beta)
  • 支持本地静态项目和在线网址模式
  • 支持 SPA History 路由回退
  • 支持自定义应用名称、窗口尺寸、图标和版本信息
  • 默认全屏启动,可配置窗口化运行
  • 自动计算并验证 Payload SHA-256
  • 内置运行日志和日志轮转
  • 支持 GUI 和命令行打包
  • 不需要 Electron 或 Node.js 运行环境

Windows

Windows 版本基于 WebView2:

  • 单文件 EXE
  • 支持 PNG/ICO 应用图标
  • 支持写入产品名称、公司、版本和版权信息
  • 使用临时文件完成构建,校验成功后原子替换最终 EXE
  • 修复首次生成时可能出现的 EndUpdateResource failed 问题
  • PE 资源更新和最终发布遇到短暂文件占用时会自动重试

目标电脑需要安装 Microsoft Edge WebView2 Runtime。Windows 10/11 通常已预装。

Linux Beta

当前支持:

  • Ubuntu 22.04 x64
  • Ubuntu 24.04 x64
  • DEB 安装包
  • 便携 TAR.GZ 包
  • 基于 GTK 3 和 WebKitGTK 4.1
  • 支持生成单文件 Linux 应用
  • 支持桌面菜单和应用图标

Linux 版本目前为 Beta,生成器和生成后的应用均需要 GTK 3、WebKitGTK 4.1 等系统运行库。

下载说明

Windows

下载:

lw.Web2App-windows-x64.zip

解压后运行:

lw.Web2App.exe

压缩包还包含已经打包完成的微信文章排版工具示例。

Ubuntu 22.04

优先下载名称中包含 ubuntu-22.04 的 DEB 或 TAR.GZ 文件。

Ubuntu 24.04

优先下载名称中包含 ubuntu-24.04 的 DEB 或 TAR.GZ 文件。

完整性校验

每个平台均提供 SHA256SUMS 文件。下载后建议验证文件哈希。

Windows PowerShell:

Get-FileHash .\lw.Web2App-windows-x64.zip -Algorithm SHA256

Linux:

sha256sum -c SHA256SUMS-linux-x64-ubuntu-22.04.txt

已知限制

  • 当前仅提供 x64 构建
  • Windows 依赖 WebView2 Runtime
  • Linux 版本暂时仅支持 Ubuntu 22.04 及以上版本
  • 尚未提供 macOS 版本
  • 生成文件暂未进行商业代码签名,Windows 可能显示 SmartScreen 提示

示例项目

CI 使用以下项目执行真实打包、完整性检查和启动测试:

[wechat-article-formatter](https://github.com/lxw112190/wechat-article-formatter)