Skip to content

Commit

Permalink
Bump to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bingzheung committed Apr 3, 2024
1 parent 56ae68a commit 27155db
Show file tree
Hide file tree
Showing 8 changed files with 1,758 additions and 1,982 deletions.
3,141 changes: 1,450 additions & 1,691 deletions Preparing/Sources/Preparing/Resources/data.csv

Large diffs are not rendered by default.

325 changes: 136 additions & 189 deletions Preparing/Sources/Preparing/Resources/pinyin.txt

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions Preparing/Sources/Preparing/Resources/syllable.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
785660 ai ai
785670 ak ak
785680 am am
785685 an an
785695 ap ap
785705 ar aa
785715 at at
785720 au au
786905 ba baa
786975 bo bo
Expand All @@ -20,7 +18,6 @@
789495 de de
789515 di di
789545 do do
790800 ei ei
792045 fa faa
792115 fo fo
792145 fu fu
Expand Down
253 changes: 163 additions & 90 deletions Preparing/Sources/Preparing/Resources/symbol.txt

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions TypeDuck.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 13;
CURRENT_PROJECT_VERSION = 14;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"TypeDuck/Preview Content\"";
DEVELOPMENT_TEAM = "";
Expand All @@ -749,7 +749,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 1.1.0;
PRODUCT_BUNDLE_IDENTIFIER = hk.eduhk.inputmethod.TypeDuck;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand All @@ -768,7 +768,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 13;
CURRENT_PROJECT_VERSION = 14;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"TypeDuck/Preview Content\"";
DEVELOPMENT_TEAM = "";
Expand All @@ -786,7 +786,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 1.1.0;
PRODUCT_BUNDLE_IDENTIFIER = hk.eduhk.inputmethod.TypeDuck;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down
2 changes: 1 addition & 1 deletion packaging/pack.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

BUNDLE_IDENTIFIER='hk.eduhk.inputmethod.TypeDuck'
APP_VERSION='1.0.0'
APP_VERSION='1.1.0'
INSTALL_LOCATION='/Library/Input Methods'

pkgbuild \
Expand Down
4 changes: 2 additions & 2 deletions packaging/scripts/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ login_user=$(/usr/bin/stat -f%Su /dev/console)
executable="${DSTROOT}/TypeDuck.app/Contents/MacOS/TypeDuck"

# Stop the running instances
osascript -e 'tell application id "hk.eduhk.inputmethod.TypeDuck" to if it is running then quit'
/usr/bin/sudo -u "${login_user}" osascript -e 'tell application id "hk.eduhk.inputmethod.TypeDuck" to if it is running then quit'
osascript -e 'tell application id "hk.eduhk.inputmethod.TypeDuck" to quit'
/usr/bin/sudo -u "${login_user}" osascript -e 'tell application id "hk.eduhk.inputmethod.TypeDuck" to quit'

# Install
/usr/bin/sudo -u "${login_user}" "${executable}" install
Expand Down
4 changes: 2 additions & 2 deletions packaging/scripts/preinstall
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
login_user=$(/usr/bin/stat -f%Su /dev/console)

# Stop the running instances
osascript -e 'tell application id "hk.eduhk.inputmethod.TypeDuck" to if it is running then quit'
/usr/bin/sudo -u "${login_user}" osascript -e 'tell application id "hk.eduhk.inputmethod.TypeDuck" to if it is running then quit'
osascript -e 'tell application id "hk.eduhk.inputmethod.TypeDuck" to quit'
/usr/bin/sudo -u "${login_user}" osascript -e 'tell application id "hk.eduhk.inputmethod.TypeDuck" to quit'

exit 0

0 comments on commit 27155db

Please sign in to comment.