Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Master sign #44

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ script:
- curl -LO "https://github.com/rime/librime/releases/download/${rime_version}/${download_archive}"
- unzip -n "${download_archive}" -d librime
- make copy-rime-binaries
- git clone https://github.com/i3thuan5/rime_taigi_poj_hanlo.git
- mv rime_taigi_poj_hanlo/taigi_pojhanlo_sujiphoat data/plum
- mkdir - data/plum
- echo 'schema_list:' > data/plum/default.yaml
- bash -x package/add_data_files
- nl -b a ThoanTaigi.xcodeproj/project.pbxproj
- make
# - make
after_success:
- make package
#- make archive # app store
before_deploy:
- mkdir pkg
- cp package/ThoanTaigi.pkg pkg/
# - make package
# - make archive # app store
4 changes: 2 additions & 2 deletions ThoanTaigi.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -416,11 +416,11 @@
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CODE_SIGN_ENTITLEMENTS = ThoanTaigiRelease.entitlements;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = NZ283CK793;
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
Expand Down
2 changes: 1 addition & 1 deletion data/squirrel.custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ patch:
style/line_spacing: 4
style/spacing: 4
style/candidate_format: '%c. %@'
style/font_face: 'jf-openhuninn-1.1'
style/font_face: 'jf-openhuninn-2.0'
style/font_point: 20
style/label_font_face: 'Andale Mono'
style/label_font_point: 14
Expand Down
Binary file removed fonts/jf-openhuninn-1.1.ttf
Binary file not shown.
Binary file added fonts/jf-openhuninn-2.0.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion package/add_data_files
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ add_file() {
add_line "${anchor_line}" "${new_line}"
}

cp "fonts/jf-openhuninn-1.1.ttf" "data/plum/"
cp "fonts/jf-openhuninn-2.0.ttf" "data/plum/"
data_files=(
$(ls data/plum/* | xargs basename)
)
Expand Down
1 change: 1 addition & 0 deletions package/make_package
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ pkgbuild \
--version "$(get_app_version)" \
--install-location "${INSTALL_LOCATION}" \
--scripts "${PROJECT_ROOT}/scripts" \
--sign "${INSTALLER_SIGN}" --keychain $KEY_CHAIN \
ThoanTaigi.pkg
2 changes: 1 addition & 1 deletion scripts/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ -z "${RIME_NO_PREBUILD}" ]; then
fi

font_dir="$HOME/Library/Fonts"
cp "${rime_shared_data_path}/jf-openhuninn-1.1.ttf" "$font_dir/"
cp "${rime_shared_data_path}/jf-openhuninn-2.0.ttf" "$font_dir/"


/usr/bin/sudo -u "${login_user}" "${squirrel_executable}" --install