Skip to content

Commit

Permalink
install/activate/select hallelujah IME
Browse files Browse the repository at this point in the history
  • Loading branch information
dongyuwei committed Jul 2, 2019
1 parent 9cd28b0 commit 041818a
Show file tree
Hide file tree
Showing 13 changed files with 167 additions and 41 deletions.
10 changes: 6 additions & 4 deletions Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,21 @@
<string>Hallelujah_1_Connection</string>
<key>InputMethodServerControllerClass</key>
<string>InputController</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>LSBackgroundOnly</key>
<string>NO</string>
<key>LSUIElement</key>
<true/>
<key>NSMainNibFile</key>
<string>AnnotationWindow</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>NSMainNibFile</key>
<string>AnnotationWindow</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>tsInputMethodCharacterRepertoireKey</key>
<array>
<string>Latn</string>
Expand Down
22 changes: 14 additions & 8 deletions Pods/Pods.xcodeproj/project.pbxproj

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
rm -rf /tmp/hallelujah
xcodebuild -workspace hallelujah.xcworkspace/ -scheme hallelujah -configuration Release CONFIGURATION_BUILD_DIR=/tmp/hallelujah/build/release
7 changes: 6 additions & 1 deletion dev.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
echo "Usage: sudo sh dev.sh"
echo "You may need to clean the dir: `rm -rf ~/.hallelujah`"

mkdir -p ${HOME}/.hallelujah/debug
xcodebuild -workspace hallelujah.xcworkspace/ -scheme hallelujah -configuration Release CONFIGURATION_BUILD_DIR=${HOME}/.hallelujah/debug
pkill -9 hallelujah
sudo rm -rf /Library/Input\ Methods/hallelujah.app/
sudo cp -R ${HOME}/.hallelujah/debug/hallelujah.app /Library/Input\ Methods/hallelujah.app
sudo cp -R ${HOME}/.hallelujah/debug/hallelujah.app /Library/Input\ Methods/hallelujah.app
sudo /Library/Input\ Methods/hallelujah.app/Contents/MacOS/hallelujah --install
echo "hallelujah IME is installed and activated. Wait a moment to use it..."
File renamed without changes.
Loading

0 comments on commit 041818a

Please sign in to comment.