소스 검색

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