Skip to content

Releases: mangokingTW/ImeModePersistence

v1.5.6

Choose a tag to compare

@github-actions github-actions released this 27 Aug 05:14
624af26

Microsoft Store visual assets and project maintenance:

  • Store listing trailers: Added multi-language preview video and live demonstration assets for Traditional Chinese, English, Simplified Chinese, Japanese, and Korean Store listings.

繁體中文:微軟商店視覺資源與維護更新:

  • 應用商店預覽影片:為繁體中文、英文、簡體中文、日文與韓文等微軟商店頁面配置即時動態預覽影片與在地化標題展示。

Install

Microsoft Store · winget install mangokingTW.ImeModePersistence · scoop install mango/ImeModePersistence — or the setup / portable zip below. Verify a download with gh attestation verify <file> --repo mangokingTW/ImeModePersistence.

All builds (including Microsoft Store) support modern WinUI apps and elevated / anti-cheat targets via the optional Sidecar Helper in the tray menu.
安裝:微軟商店、上方任一套件管理器,或下方安裝檔/免安裝 zip。所有版本(含市集版)皆可透過托盤選單啟用 Sidecar Helper 支援 WinUI 與管理員/反作弊目標。

v1.5.5

Choose a tag to compare

@github-actions github-actions released this 23 Aug 01:19
ff89130

Documentation and project maintenance release:

  • Documentation & preview assets: Updated README and Microsoft Store listings with live demonstrations of input mode persistence and caret indicators.

繁體中文:說明文件與維護更新:

  • 說明文件與預覽資源更新:更新專案首頁與應用商店資訊,提供直觀的輸入法模式維持與游標指示器動態預覽。

Install

Microsoft Store · scoop install mango/ImeModePersistence · winget install mangokingTW.ImeModePersistence · choco install imemodepersistence — or the setup / portable zip below. Verify a download with gh attestation verify <file> --repo mangokingTW/ImeModePersistence.

All builds (including Microsoft Store) support modern WinUI apps and elevated / anti-cheat targets via the optional Sidecar Helper in the tray menu.
安裝:微軟商店、上方任一套件管理器,或下方安裝檔/免安裝 zip。所有版本(含市集版)皆可透過托盤選單啟用 Sidecar Helper 支援 WinUI 與管理員/反作弊目標。

v1.5.4

Choose a tag to compare

@github-actions github-actions released this 22 Aug 01:32
08e145e

Fix shell window detection for tray overflow and modern flyouts:

  • Tray overflow shell filter: Added window class detection for Windows 11 modern tray overflow flyouts (TopLevelWindowForOverflowXamlIsland), classic overflow flyouts (NotifyIconOverflowWindow), XAML popups, and shell context menus.
  • Robust Explorer process classification: Prevents tray overflow and shell interactions from overwriting the last observed foreground application with explorer.exe, ensuring rule dialog prefill and IME mode persistence accurately capture target applications (e.g. Discord or Chrome).

繁體中文:修正系統匣溢位選單與現代快顯視窗之 Shell 視窗過濾判定:

  • 系統匣溢位選單過濾:新增對 Windows 11 現代 XAML 托盤溢位選單(TopLevelWindowForOverflowXamlIsland)、經典溢位視窗(NotifyIconOverflowWindow)、XAML 彈出視窗與右鍵選單之視窗類別辨識。
  • 強化 Explorer 行程判定:防止展開托盤隱藏圖示選單時將前一個目標應用程式誤判並覆蓋為 explorer.exe,確保規則新增對話框能精準預填使用者先前的應用程式(如 Discord 或 Chrome)。

Install

Microsoft Store · scoop install mango/ImeModePersistence · winget install mangokingTW.ImeModePersistence · choco install imemodepersistence — or the setup / portable zip below. Verify a download with gh attestation verify <file> --repo mangokingTW/ImeModePersistence.

All builds (including Microsoft Store) support modern WinUI apps and elevated / anti-cheat targets via the optional Sidecar Helper in the tray menu.
安裝:微軟商店、上方任一套件管理器,或下方安裝檔/免安裝 zip。所有版本(含市集版)皆可透過托盤選單啟用 Sidecar Helper 支援 WinUI 與管理員/反作弊目標。

v1.5.3

Choose a tag to compare

@github-actions github-actions released this 21 Aug 23:53
f293534

Unified dual-mode installer & Sidecar Helper layout switching:

  • Unified dual-mode installer: Merged separate setup-admin.exe and setup-user.exe into a single ImeModePersistence-<version>-setup.exe installer with PrivilegesRequiredOverridesAllowed=dialog commandline. Interactive installs offer per-user (no UAC required) or all-users (Program Files, elevated) choices; package managers use /CURRENTUSER or /ALLUSERS.
  • Layout switching via Sidecar Helper: Extended Helper IPC protocol with SwitchLayout command, allowing unelevated desktop and Microsoft Store packaged builds to switch keyboard layouts for elevated or anti-cheat protected fullscreen games (such as Helldivers 2 with class:stingray_window) across UIPI boundaries.
  • Desktop Helper menu availability: Made "Enable WinUI/Admin support..." (Sidecar Helper) available across all unelevated builds with toggle stop support.

繁體中文:二合一安裝程式與 Sidecar Helper 鍵盤配置切換支援:

  • 二合一安裝程式:將原先分開的 setup-admin.exesetup-user.exe 合併為單一 ImeModePersistence-<version>-setup.exe。互動安裝時提供「為目前使用者安裝(免提權)」與「為全機所有使用者安裝(需要管理員提權)」選項;命令列支援 /CURRENTUSER/ALLUSERS 參數。
  • 跨 UIPI 鍵盤配置切換:擴充 Sidecar Helper IPC 協定支援 SwitchLayout 指令,使一般權限桌面版與 Store 版在啟用 Helper 輔助服務後,能跨越 UIPI 屏障為高權限 / 反作弊全螢幕遊戲(如 Helldivers 2 搭配 class:stingray_window)自動切換與綁定語言。
  • 桌面版選單支援 Helper:所有未提權版本皆一律顯示「啟用現代視窗 (WinUI) 支援…」選單項目,並支援再次點擊關閉。

Install

Microsoft Store · scoop install mango/ImeModePersistence · winget install mangokingTW.ImeModePersistence · choco install imemodepersistence — or the setup / portable zip below. Verify a download with gh attestation verify <file> --repo mangokingTW/ImeModePersistence.

All builds (including Microsoft Store) support modern WinUI apps and elevated / anti-cheat targets via the optional Sidecar Helper in the tray menu.
安裝:微軟商店、上方任一套件管理器,或下方安裝檔/免安裝 zip。所有版本(含市集版)皆可透過托盤選單啟用 Sidecar Helper 支援 WinUI 與管理員/反作弊目標。

v1.5.2

Choose a tag to compare

@github-actions github-actions released this 21 Aug 12:03
ef0d8ba

Reliability fixes for Sidecar Helper IPC and shutdown lifecycle:

  • Synchronous IPC pipe: Reverted named pipe from overlapped I/O to fully synchronous I/O, guaranteeing accurate byte counts for ReadFile/WriteFile and resolving intermittent IME state persistence failures on modern/WinUI applications.
  • Clean shutdown watchdog: Upgraded parent process watchdog thread to listen on both parent process termination and internal shutdown events, eliminating potential join deadlocks on normal application exit or manual helper stop.

繁體中文:Sidecar Helper IPC 通訊與關閉生命週期可靠度修正:

  • 同步 IPC 管道:具名管道回歸純同步 I/O,確保 ReadFile/WriteFile 傳輸位元組精確可靠,解決現代 / WinUI 應用程式(如記事本)偶發性 IME 狀態維持失效問題。
  • 乾淨關閉守護執行緒:父行程監聽執行緒改為同時等待父行程終止與內部關閉事件,徹底消除手動停止或正常關閉時的執行緒卡死問題。

Install

Microsoft Store · scoop install mango/ImeModePersistence · winget install mangokingTW.ImeModePersistence · choco install imemodepersistence — or the setup / portable zip below. Verify a download with gh attestation verify <file> --repo mangokingTW/ImeModePersistence.

All builds (including Microsoft Store) support modern WinUI apps and elevated / anti-cheat targets via the optional Sidecar Helper in the tray menu.
安裝:微軟商店、上方任一套件管理器,或下方安裝檔/免安裝 zip。所有版本(含市集版)皆可透過托盤選單啟用 Sidecar Helper 支援 WinUI 與管理員/反作弊目標。

v1.5.1

Choose a tag to compare

@github-actions github-actions released this 21 Aug 11:42
2c15ae9

Security hardening and lifecycle improvements for Sidecar Helper:

  • Hardened elevation path: Sidecar Helper now elevates directly from the original executable path, eliminating writable AppData copy and preventing potential local privilege escalation (LPE) / TOCTOU risks.
  • Restricted IPC access: Tightened named pipe security descriptor (SDDL) to interactive users and administrators only.
  • Parent process watchdog: Helper service now monitors the main application's process lifecycle and cleanly terminates when the parent process exits.
  • Improved data integrity: Upgraded window handle passing in IPC responses to 64-bit HWND.

繁體中文:Sidecar Helper 輔助服務之安全加固與生命週期改善:

  • 提權路徑加固:Sidecar Helper 改為直接對原始執行檔路徑提權,移除 AppData 複本機制,消滅潛在的本機提權(LPE)與 TOCTOU 風險。
  • IPC 連線權限收斂:收斂具名管道 SDDL 安全描述元,僅允許當前互動登入者與管理員連線。
  • 孤兒行程守護:Helper 服務新增父行程生命週期監聽,於主程式結束或崩潰時自動退出。
  • 資料完整性提升:IPC 回應之視窗代碼欄位升級為 64 位元 HWND。

Install

Microsoft Store · scoop install mango/ImeModePersistence · winget install mangokingTW.ImeModePersistence · choco install imemodepersistence — or the setup / portable zip below. Verify a download with gh attestation verify <file> --repo mangokingTW/ImeModePersistence.

All builds (including Microsoft Store) support modern WinUI apps and elevated / anti-cheat targets via the optional Sidecar Helper in the tray menu.
安裝:微軟商店、上方任一套件管理器,或下方安裝檔/免安裝 zip。所有版本(含市集版)皆可透過托盤選單啟用 Sidecar Helper 支援 WinUI 與管理員/反作弊目標。

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 21 Aug 10:23
875f36f

Microsoft Store (MSIX) and non-elevated builds now support modern (WinUI/TSF) apps via Sidecar Helper:

  • Added Sidecar Helper architecture: Microsoft Store and non-elevated users can now enable "WinUI / Admin support" directly from the system tray menu. It launches a lightweight elevated background helper service via standard Windows UAC without requiring third-party code signing certificates.
  • Full bidirectional read/write synchronization: Accurately reads and persists IME conversion mode for modern WinUI 3 / XAML / TSF applications (such as Windows 11 modern Notepad RichEditD2DPT child focus controls) as well as elevated windows across window switches.

繁體中文:Microsoft Store(市集版)與非提權環境現已支援現代(WinUI/TSF)視窗:

  • 新增 Sidecar Helper 輔助服務架構:市集版與一般權限使用者現在可直接從系統匣選單點選「啟用現代視窗/管理員支援」,透過標準 Windows UAC 啟動輕量提權背景服務,免自備付費代碼簽章憑證。
  • 完整雙向讀寫同步:精準讀取並延續 Windows 11 現代記事本(WinUI 3 / XAML / TSF 子焦點控制項 RichEditD2DPT)與高權限視窗的中/英輸入法轉換模式。

Install

Microsoft Store · scoop install mango/ImeModePersistence · winget install mangokingTW.ImeModePersistence · choco install imemodepersistence — or the setup / portable zip below. Verify a download with gh attestation verify <file> --repo mangokingTW/ImeModePersistence.

All builds (including Microsoft Store) support modern WinUI apps and elevated / anti-cheat targets via the optional Sidecar Helper in the tray menu.
安裝:微軟商店、上方任一套件管理器,或下方安裝檔/免安裝 zip。所有版本(含市集版)皆可透過托盤選單啟用 Sidecar Helper 支援 WinUI 與管理員/反作弊目標。

v1.4.1

Choose a tag to compare

@github-actions github-actions released this 20 Aug 04:41
579d726

(v1.4.0 was an experimental in-process TSF text-service beta; it was withdrawn as
unnecessary. This is the next stable release, built on v1.3.1.)

Input-mode persistence now reaches modern (TSF/WinUI) apps when run elevated:

  • Fixed: the mode you carry is now applied to packaged/WinUI apps such as the
    modern Notepad. Their real text control ignores a mode written to the
    top-level window (the write "verified" but typing stayed in the wrong mode);
    the mode is now written to the focused control's input context, which actually
    takes. This needs the app to run as administrator -- that input context is
    reachable only from a high-integrity process (the same reason a protected game
    needs it). Run unelevated, behaviour is unchanged from v1.3.1: classic and
    Chromium apps keep working, and modern-Notepad-class apps are simply left as
    they were (no hang, no change).

繁體中文:提升權限執行時,輸入模式維持現在能作用到現代(TSF/WinUI)程式:

  • 修正:維持的模式現在能套用到 packaged/WinUI 程式(如新版記事本)。這類程式
    的真實文字控制項會忽略寫到「最上層視窗」的模式(先前寫入「看似成功」但打字
    仍是錯的模式);現在改寫到「被焦點的控制項」的輸入 context,才會真正生效。
    此功能需以系統管理員執行 —— 該 context 只有高完整性行程搆得到(與受保護
    遊戲需要提權同理)。未提權時行為與 v1.3.1 相同:傳統與 Chromium 程式照常,
    新版記事本這類則維持原樣(不卡頓、不改變)。

Install

Microsoft Store · scoop install mango/ImeModePersistence · winget install mangokingTW.ImeModePersistence · choco install imemodepersistence — or the setup / portable zip below. Verify a download with gh attestation verify <file> --repo mangokingTW/ImeModePersistence.

All builds (including Microsoft Store) support modern WinUI apps and elevated / anti-cheat targets via the optional Sidecar Helper in the tray menu.
安裝:微軟商店、上方任一套件管理器,或下方安裝檔/免安裝 zip。所有版本(含市集版)皆可透過托盤選單啟用 Sidecar Helper 支援 WinUI 與管理員/反作弊目標。

v1.3.1

Choose a tag to compare

@github-actions github-actions released this 20 Aug 01:13
5b3d1ac

Cross-window input-mode persistence is more reliable:

  • Fixed: touching the taskbar or desktop, or clicking through it to the tray, no
    longer snaps the IME back to its native (e.g. Chinese) mode -- the shell is no
    longer mistaken for the app you switched to.
  • Fixed: File Explorer windows are kept in sync like any other app (they were
    wrongly grouped with the taskbar/desktop and left alone).
  • The mode you last chose now holds through the moment right after a switch, when
    Windows re-applies the layout's default a beat late; and a brief misread of the
    input mode no longer flips what is carried.

Known limitation: apps that drive the Text Services Framework themselves --
Chromium browsers (Chrome, Discord, Electron) and packaged apps such as the
modern Notepad -- cannot have their input mode read or set reliably from outside
the process, so persistence there is best-effort. Classic apps are unaffected.

繁體中文:跨視窗維持輸入模式更可靠了:

  • 修正:碰到工作列或桌面、或穿過它去點托盤,不會再把輸入法切回預設(例如中文)模式——殼層不再被誤當成你切換到的程式。
  • 修正:檔案總管視窗現在會和其他程式一樣正常維持(先前被和工作列/桌面歸為一類而略過)。
  • 你最後選的模式,現在能撐過「剛切換視窗、Windows 慢一拍套用版面預設」的那一刻;輸入模式的短暫誤讀也不會再翻掉維持中的模式。

已知限制:自行驅動 TSF(文字服務框架)的程式——Chromium 系瀏覽器(Chrome、Discord、Electron)與封裝版程式(如新版記事本)——無法從行程外可靠讀寫其輸入模式,那些情況為 best-effort;傳統程式不受影響。


Install

Microsoft Store · scoop install mango/ImeModePersistence · winget install mangokingTW.ImeModePersistence · choco install imemodepersistence — or the setup / portable zip below. Verify a download with gh attestation verify <file> --repo mangokingTW/ImeModePersistence.

All builds (including Microsoft Store) support modern WinUI apps and elevated / anti-cheat targets via the optional Sidecar Helper in the tray menu.
安裝:微軟商店、上方任一套件管理器,或下方安裝檔/免安裝 zip。所有版本(含市集版)皆可透過托盤選單啟用 Sidecar Helper 支援 WinUI 與管理員/反作弊目標。

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 19 Aug 05:56
0ceb32c

App language bindings gained ordering and a default:

  • Each binding can be set to apply once when you switch to the window,
    instead of being continuously enforced, so a manual change afterwards sticks.
  • Drag bindings in the list to reorder them; the first one that matches wins,
    so you decide precedence.
  • A new default (used when no binding matches) — off by default, with its own
    language and the same once / continuous choice.

繁體中文:程式綁定輸入語言新增排序與預設:

  • 每條綁定可設為切換到該視窗時只套用一次,而非持續強制,之後你手動改就會保留。
  • 在清單中拖曳綁定即可調整順序;由上到下第一個符合的優先,先後順序由你決定。
  • 新增預設(所有綁定都不符合時套用)——預設不啟用,有自己的語言與同樣的一次性/持續選項。

Install

Microsoft Store · scoop install mango/ImeModePersistence · winget install mangokingTW.ImeModePersistence · choco install imemodepersistence — or the setup / portable zip below. Verify a download with gh attestation verify <file> --repo mangokingTW/ImeModePersistence.

All builds (including Microsoft Store) support modern WinUI apps and elevated / anti-cheat targets via the optional Sidecar Helper in the tray menu.
安裝:微軟商店、上方任一套件管理器,或下方安裝檔/免安裝 zip。所有版本(含市集版)皆可透過托盤選單啟用 Sidecar Helper 支援 WinUI 與管理員/反作弊目標。