Prechádzať zdrojové kódy

feat: for win, custom全复制

Dew-OF-Aurora 2 týždňov pred
rodič
commit
fc6e625a71

+ 0 - 0
custom/moegirl.dict.yaml → custom/aurora_dicts/moegirl.dict.yaml


+ 1 - 1
custom/rime_ice.custom.dict.yaml

@@ -11,7 +11,7 @@ import_tables:
   - cn_dicts/ext
   - cn_dicts/tencent
   - cn_dicts/others
-  - moegirl
+  - aurora_dicts/moegirl ## 280w
 ...
 
 # 示例:输入 `zuogeDNAjiance` 得到 `做个DNA检测`

+ 2 - 3
os/Windows.rb

@@ -57,9 +57,8 @@ You can download Rime from: https://rime.im/download/
     class CopyCustomConfigJob < Job
       def call
         puts intro
-        system("copy .\\custom\\*.yaml #{Store.config_path}")
-        sleep 1
-        system("copy .\\custom\\custom_phrase.txt #{Store.config_path}")
+        ## 复制custom下所有文件, 包括空文件夹
+        system("xcopy \"custom\" \"#{Store.config_path}\" /E /I /Y")
         sleep 1
         return :next
       end