Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
988ed471be | ||
|
|
6c36c01f0e | ||
|
|
0fc42a4b8c |
@@ -15,9 +15,9 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>0.4.0</string>
|
<string>0.4.1</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>4</string>
|
<string>5</string>
|
||||||
<key>InputMethodConnectionName</key>
|
<key>InputMethodConnectionName</key>
|
||||||
<string>com.autozhuyin.inputmethod.AutoZhuyin_Connection</string>
|
<string>com.autozhuyin.inputmethod.AutoZhuyin_Connection</string>
|
||||||
<key>InputMethodServerControllerClass</key>
|
<key>InputMethodServerControllerClass</key>
|
||||||
@@ -37,7 +37,6 @@
|
|||||||
<key>tsInputMethodCharacterRepertoireKey</key>
|
<key>tsInputMethodCharacterRepertoireKey</key>
|
||||||
<array>
|
<array>
|
||||||
<string>Hant</string>
|
<string>Hant</string>
|
||||||
<string>Latn</string>
|
|
||||||
</array>
|
</array>
|
||||||
<key>tsInputMethodIconFileKey</key>
|
<key>tsInputMethodIconFileKey</key>
|
||||||
<string>icon.tiff</string>
|
<string>icon.tiff</string>
|
||||||
|
|||||||
@@ -13,6 +13,17 @@ rm -rf "$DEST/AutoZhuyin.app"
|
|||||||
cp -R build/AutoZhuyin.app "$DEST/"
|
cp -R build/AutoZhuyin.app "$DEST/"
|
||||||
"$DEST/AutoZhuyin.app/Contents/MacOS/AutoZhuyin" --register
|
"$DEST/AutoZhuyin.app/Contents/MacOS/AutoZhuyin" --register
|
||||||
|
|
||||||
|
SYSTEM_APP="/Library/Input Methods/AutoZhuyin.app"
|
||||||
|
if [ -d "$SYSTEM_APP" ]; then
|
||||||
|
OLD="$(plutil -extract CFBundleShortVersionString raw "$SYSTEM_APP/Contents/Info.plist" 2>/dev/null || echo '?')"
|
||||||
|
echo
|
||||||
|
echo "WARNING: a system-wide copy (v$OLD, installed from the .pkg) exists at:"
|
||||||
|
echo " $SYSTEM_APP"
|
||||||
|
echo "macOS runs that copy instead of this one. Install the new .pkg"
|
||||||
|
echo "(scripts/package.sh), or remove it with:"
|
||||||
|
echo " sudo rm -rf \"$SYSTEM_APP\" && pkill -x AutoZhuyin"
|
||||||
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Installed to $DEST/AutoZhuyin.app"
|
echo "Installed to $DEST/AutoZhuyin.app"
|
||||||
echo "First install: System Settings → Keyboard → Text Input → Edit… → + → 繁體中文 → 自動注音"
|
echo "First install: System Settings → Keyboard → Text Input → Edit… → + → 繁體中文 → 自動注音"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "自動注音 AutoZhuyin",
|
"name": "自動注音 AutoZhuyin",
|
||||||
"version": "0.4.0",
|
"version": "0.4.1",
|
||||||
"guid": "{3895C6E3-6D40-4B4B-B4EA-CEEC75382D23}",
|
"guid": "{3895C6E3-6D40-4B4B-B4EA-CEEC75382D23}",
|
||||||
"locale": "zh-Hant-TW",
|
"locale": "zh-Hant-TW",
|
||||||
"fallbackLocale": "zh-TW",
|
"fallbackLocale": "zh-TW",
|
||||||
|
|||||||
Reference in New Issue
Block a user