Skip to content

CWS Assistant - Release Notes

🚀 最新功能:單實例執行 | New Feature: Single Instance Enforcement

為了確保系統資源有效利用並避免設定衝突,CWS 現已實施全域多開檢測。 To ensure efficient system resource usage and prevent configuration conflicts, CWS now implements Global Multi-instance Detection.

  • 自動喚醒 (Auto-Wake): * 若程式已在執行,再次啟動會自動將原有的視窗彈出至最前端。
    • If the app is already running, launching it again will automatically bring the existing window to the front.
  • 智慧攔截 (Smart Interception): * 自動終止重複的進程,防止多次讀寫註冊表。
    • Automatically terminates duplicate processes to prevent redundant Registry R/W operations.

🛠️ 歷史更新日誌 | Version History & Changelog

1. 核心邏輯與啟動優化 | Core Logic & Startup

  • 啟動偏好設定 (Startup Preference): * 支援自定義啟動後預設顯示「主介面」或直接縮細為「懸浮球」。
    • Added setting to toggle between "Main UI" and "Floating Ball" on startup.
  • 環境路徑修正 (Path Refinement): * 強制設定工作目錄為程序所在路徑,解決自啟動失敗問題。
    • Enforced working directory to base path to fix auto-start issues.
  • 單實例互斥鎖 (Mutex Implementation): * 引入 Mutex 機制防止軟體多開。
    • Implemented Mutex to prevent multiple app instances.

2. 懸浮球與 UI 改進 | Floating Ball & UI Enhancements

  • 懸浮球行為優化 (Refined Floating Ball): * 優化懸浮球的交互邏輯與顯示行為。
    • Updated and refined Floating Ball behavior and logic.
  • 圖示更新 (Icon Update): * 更新了應用程式全域圖示檔案。
    • Updated application icon file.

3. 多語言與資源整合 | Localization & Resources

  • 語言包修復 (Localization Fixes): * 修正 XAML xmlns:sys 命名空間宣告錯誤,統一資源格式。
    • Fixed sys namespace declaration errors and unified XAML resources.
  • 新增語言 (New Languages): * 新增地道的 zh-HK (粵語) 與 EN (英語) 支援。
    • Added native support for zh-HK (Cantonese) and en-US (English).

4. 編譯與發佈修復 | Build & Release Fixes

  • 安裝程式類別修正 (Installer Fix): * 修復了安裝程式被錯誤識別為 Debug 版本的 Bug。
    • Fixed the error where the installer was mistakenly identified as Debug.

⚠️ 常見問題 | FAQ

Q: 為什麼雙擊圖標後沒有出現新窗口? / Why doesn't a new window appear?

  • A: 程式可能已在執行。請檢查系統托盤或懸浮球,系統已將焦點切換至現有實例。
  • A: The app is likely running. Check your system tray or floating ball; focus has switched to the current instance.

Q: 如何更改啟動模式? / How to change the startup view?

  • A: 進入「通用設定」分頁,切換「啟動預設介面」開關即可。
  • A: Go to "General Settings" tab and toggle the "Default Startup View" switch.

📝 開發者資訊 | Developer Info

  • Environment: .NET 8.0 / WPF
  • Mechanism: Mutex + Win32 API
  • Workflow: Automated Release via NekoCat
  • Localization Support: Special thanks to YL1647Rui for providing professional and localized translation support.

CWS Assistant - 讓 Office 與 WPS 和諧共處。

Documented with ❤️ by CWS Development