chjlu 最近的时间轴更新
chjlu

chjlu

V2EX 第 10766 号会员,加入于 2011-08-02 10:01:45 +08:00
chjlu 最近回复了
2014-11-05 19:47:30 +08:00
回复了 wushuang 创建的主题 问与答 OS X 升级到 10.10 之后,鼠须管的 app_options 不起作用了?
可以用我修改的版本: https://github.com/frank4565/squirrel,也可以复制粘贴以下的 patch 文件。
如何编译看这里: https://code.google.com/p/rimeime/wiki/RimeWithSquirrel

From 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
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   910 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 22:33 · PVG 06:33 · LAX 14:33 · JFK 17:33
Developed with CodeLauncher
♥ Do have faith in what you're doing.