Back to a single macOS input source; show 中/A by the cursor instead

The two input modes (中英自動 / 英文) made English mode a separate input source,
and switching between them still brought up System Settings. Info.plist has one
input source again, the Shift tap no longer calls Text Input Sources, and English
mode is shown by a short 中 / A badge under the cursor. The input menu gets an
英文模式 item. Windows and Linux keep their icon switch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 08:39:24 +08:00
co-authored by Claude Opus 5.5
parent cfd095b3b0
commit fbdf64f64e
10 changed files with 80 additions and 127 deletions
-3
View File
@@ -33,9 +33,6 @@ if [ ! -f build/icon.tiff ]; then
xcrun swift scripts/make-icon.swift build/icon.tiff
fi
cp build/icon.tiff "$APP/Contents/Resources/icon.tiff"
# English-mode icon ("A"), shown in the menu bar while English mode is on.
[ -f build/icon-en.tiff ] || xcrun swift scripts/make-icon.swift build/icon-en.tiff A
cp build/icon-en.tiff "$APP/Contents/Resources/icon-en.tiff"
codesign --force --sign - "$APP"
echo "Built $APP"