可以用我修改的版本:
https://github.com/frank4565/squirrel,也可以复制粘贴以下的 patch 文件。
如何编译看这里:
https://code.google.com/p/rimeime/wiki/RimeWithSquirrelFrom 613a5917aa439bfb877ce6fdb47722239ee97187 Mon Sep 17 00:00:00 2001
From: Junlu Cheng
Date: Wed, 5 Nov 2014 19:21:08 +0800
Subject: [PATCH] Fixed app_options not working in OS X 10.10 Yosemite.
---
SquirrelInputController.m | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/SquirrelInputController.m b/SquirrelInputController.m
index b936aa5..e22cb4f 100644
--- a/SquirrelInputController.m
+++ b/SquirrelInputController.m
@@ -240,10 +240,7 @@
-(id)initWithServer:(IMKServer*)server delegate:(id)delegate client:(id)inputClient
{
//NSLog(@"initWithServer:delegate:client:");
- if (self = [super initWithServer:server delegate:delegate client:inputClient]) {
- _currentClient = inputClient;
- [self createSession];
- }
+ self = [super initWithServer:server delegate:delegate client:inputClient];
return self;
}
--
1.8.4.2
参见:
http://www.zhihu.com/question/26083714/answer/32973546