Skip to content

v1.2.1 — Windows 安装包 EXE / Windows Installer Packages

Choose a tag to compare

@Druadach Druadach released this 06 Sep 02:59
· 11 commits to main since this release

修复

  • 修复 EXE 的 Windows 命令行转义,并转发 --minimized、--auto-start 等参数。
  • Java 启动器同时支持 --base-dir 路径 和 --base-dir=路径。
  • 修复 UTF-8 系统代码页下原生 AWT 菜单中文显示方框的问题。内置 Java 原字体配置缺少 UTF-8 中文核心字体组合,新增 jre/conf/fonts/fontconfig.properties 补齐映射。
  • 托盘测试直接测试菜单项,不再注册真实托盘图标,完整构建可以正常退出。
  • 源码目录自启动使用内置 javaw.exe,不依赖系统 JAR 文件关联;注册表更新失败会恢复选项并提示错误。

功能

  • 托盘菜单:显示主窗口、启动服务/停止服务、全屏复选项、设置、关于、退出。
  • 启停过程中暂时禁用服务动作;全屏状态与服务同步。
  • 开机自动启动及登录后自动运行服务选项。
  • 中英文菜单及关于信息;英文 README 同步中文版本的文案调整。

命名与外观

  • 产品中文名统一为「AirPlay 接收器」:窗口标题(原「Java AirPlay 启动器」)、托盘提示、关于信息、安装器名称与快捷方式、原生 EXE 提示及 README 同步更新。
  • 应用图标重制:原白色 LOGO 在浅色任务栏/托盘下不易辨认,改为蓝底白图形(material blue 渐变底 + 白色显示器边框与投屏三角),统一应用于窗口/托盘图标(内嵌两个 JAR)、原生启动器 EXE 和安装包。
  • 安装器升级时自动删除旧版本遗留的「AirPlay 接收端」桌面与开始菜单快捷方式。

配置

launcher.autoStart.enabled=true
launcher.autoStart.runService=true

这两项默认均为 false。勾选 GUI 中的开机自动启动选项才会登记 Windows 登录启动项。

验证范围

完整构建包含启动器、原生菜单字体、本地控制、退出看门狗、音频、会话切换及打包类的回归测试。EXE 参数解析测试与原生菜单截图检查已纳入标准构建流程;历史遗留的跳过测试入口 build_patch_skip_test.ps1 已删除。

安装版与便携版已在目标电脑实测通过(2026-09-06,含升级安装、桌面/托盘图标显示、中文菜单与自启动)。


AirPlay Receiver v1.2.1 Release Notes

Fixes

  • Fixed Windows command-line escaping in the EXE; --minimized, --auto-start and other arguments are now forwarded to the Java launcher.
  • The Java launcher accepts both --base-dir <path> and --base-dir=<path>.
  • Fixed native AWT menus showing tofu boxes for Chinese on UTF-8 system code pages. The bundled Java runtime lacked the CJK font mappings; a new jre/conf/fonts/fontconfig.properties fills the gap (verified by native menu screenshots).
  • Tray tests now exercise menu items directly instead of registering a real tray icon, so the full build can always exit cleanly.
  • Auto-start from the source tree now uses the bundled javaw.exe and no longer depends on the system JAR file association; if the registry update fails, the option is rolled back and an error is shown.

Features

  • Tray menu: show main window, start/stop service toggle, fullscreen checkbox, settings, about, exit.
  • Service actions are temporarily disabled during start/stop transitions; fullscreen state stays in sync with the service.
  • New Windows auto-start options: launch on login and run the service automatically.
  • Bilingual (Chinese/English) menus and About dialog; the English README copy is synced with the Chinese wording.

Naming & Branding

  • The product's Chinese name is unified to「AirPlay 接收器」(AirPlay Receiver): window title (formerly「Java AirPlay 启动器」), tray tooltip, About dialog, installer name and shortcuts, native EXE prompts, and both READMEs.
  • Redesigned app icon: the former all-white logo was barely visible on light taskbars and trays. It is now a white monitor frame + AirPlay triangle on a material-blue gradient tile, applied uniformly to the window/tray icons (embedded in both JARs), the native launcher EXE and the installer.
  • On upgrade, the installer automatically removes legacy「AirPlay 接收端」desktop and Start-menu shortcuts left by older versions.

Configuration

launcher.autoStart.enabled=true
launcher.autoStart.runService=true

Both default to false. The Windows logon entry is only registered when the auto-start option is ticked in the GUI.

Verification

The full build runs regression tests covering the launcher, native menu fonts, local control, the quit watchdog, audio, session takeover and packaged classes. EXE argument parsing tests and native menu screenshot checks are part of the standard build; the legacy skip-test entry build_patch_skip_test.ps1 has been removed.

The installer and portable packages passed on-target testing (2026-09-06), including upgrade installation, desktop/tray icon rendering, Chinese menus and auto-start.