ソースを参照

Merge branch 'rime-ice'

Dew-OF-Aurora 2 週間 前
コミット
ccf3d39d53
1 ファイル変更2 行追加3 行削除
  1. 2 3
      os/Windows.rb

+ 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