From 0658b6a4dc421462e4adad600cf505f7b600cbff Mon Sep 17 00:00:00 2001 From: Dvel Date: Thu, 6 Apr 2023 16:20:54 +0800 Subject: [PATCH] =?UTF-8?q?chores=20=E7=A7=BB=E5=87=BA=20emoji-map.txt;=20?= =?UTF-8?q?close=20#127?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- {opencc => others}/emoji-map.txt | 0 others/iRime/iRime 九宫格/melt_eng.custom.yaml | 0 others/iRime/iRime 九宫格/rime_ice.custom.yaml | 0 others/iRime/iRime 全键盘/rime_ice.custom.yaml | 0 others/iRime/iRime 全键盘/theme/iPhone_custom/info.yaml | 0 .../iRime/iRime 全键盘/theme/iPhone_custom/port/theme.yaml | 0 others/script/rime/emoji.go | 2 +- others/script/rime/rime.go | 2 +- 8 files changed, 2 insertions(+), 2 deletions(-) rename {opencc => others}/emoji-map.txt (100%) mode change 100755 => 100644 others/iRime/iRime 九宫格/melt_eng.custom.yaml mode change 100755 => 100644 others/iRime/iRime 九宫格/rime_ice.custom.yaml mode change 100755 => 100644 others/iRime/iRime 全键盘/rime_ice.custom.yaml mode change 100755 => 100644 others/iRime/iRime 全键盘/theme/iPhone_custom/info.yaml mode change 100755 => 100644 others/iRime/iRime 全键盘/theme/iPhone_custom/port/theme.yaml diff --git a/opencc/emoji-map.txt b/others/emoji-map.txt similarity index 100% rename from opencc/emoji-map.txt rename to others/emoji-map.txt diff --git a/others/iRime/iRime 九宫格/melt_eng.custom.yaml b/others/iRime/iRime 九宫格/melt_eng.custom.yaml old mode 100755 new mode 100644 diff --git a/others/iRime/iRime 九宫格/rime_ice.custom.yaml b/others/iRime/iRime 九宫格/rime_ice.custom.yaml old mode 100755 new mode 100644 diff --git a/others/iRime/iRime 全键盘/rime_ice.custom.yaml b/others/iRime/iRime 全键盘/rime_ice.custom.yaml old mode 100755 new mode 100644 diff --git a/others/iRime/iRime 全键盘/theme/iPhone_custom/info.yaml b/others/iRime/iRime 全键盘/theme/iPhone_custom/info.yaml old mode 100755 new mode 100644 diff --git a/others/iRime/iRime 全键盘/theme/iPhone_custom/port/theme.yaml b/others/iRime/iRime 全键盘/theme/iPhone_custom/port/theme.yaml old mode 100755 new mode 100644 diff --git a/others/script/rime/emoji.go b/others/script/rime/emoji.go index fd63b2a..d402838 100644 --- a/others/script/rime/emoji.go +++ b/others/script/rime/emoji.go @@ -14,7 +14,7 @@ import ( ) var emojiTXT = "/Users/dvel/Library/Rime/opencc/emoji.txt" -var mappingTXT = "/Users/dvel/Library/Rime/opencc/emoji-map.txt" +var mappingTXT = "/Users/dvel/Library/Rime/others/emoji-map.txt" type OrderedMap struct { keys []string diff --git a/others/script/rime/rime.go b/others/script/rime/rime.go index 4b2b400..ee1a937 100644 --- a/others/script/rime/rime.go +++ b/others/script/rime/rime.go @@ -30,7 +30,7 @@ const ( SogouPath = "/Users/dvel/Library/Rime/cn_dicts/sogou.dict.yaml" ExtPath = "/Users/dvel/Library/Rime/cn_dicts/ext.dict.yaml" TencentPath = "/Users/dvel/Library/Rime/cn_dicts/tencent.dict.yaml" - EmojiPath = "/Users/dvel/Library/Rime/opencc/emoji-map.txt" + EmojiPath = "/Users/dvel/Library/Rime/others/emoji-map.txt" EnPath = "/Users/dvel/Library/Rime/en_dicts/en.dict.yaml" DefaultWeight = 100 // sogou、ext、tencet 词库中默认的权重数值