Browse Source

Merge branch 'main' into rime-frost

Dew-OF-Aurora 1 tháng trước cách đây
mục cha
commit
2f4b5a6516
3 tập tin đã thay đổi với 4 bổ sung9 xóa
  1. 2 2
      custom/weasel.custom.yaml
  2. 1 4
      os/LinuxDistro.rb
  3. 1 3
      os/MacOS.rb

+ 2 - 2
custom/weasel.custom.yaml

@@ -1,8 +1,8 @@
 patch:
   style:
     # color_scheme: ms_sogou
-    color_scheme: ms_wechat_light
-    # color_scheme: ms_wechat_dark
+    # color_scheme: ms_wechat_light
+    color_scheme: ms_wechat_dark
 
     font_face: "微软雅黑"
     font_point: 14

+ 1 - 4
os/LinuxDistro.rb

@@ -71,10 +71,7 @@ https://wiki.archlinux.org/title/Rime
     class CopyCustomConfigJob < Job
       def call
         puts intro
-        system("cp ./custom/*.yaml #{Store.config_path}/")
-        sleep 1
-        system("cp ./custom/custom_phrase.txt #{Store.config_path}/")
-        sleep 1
+        system("cp -rf custom/. #{Store.config_path}/")
         return :next
       end
     end

+ 1 - 3
os/MacOS.rb

@@ -37,9 +37,7 @@ module RimeDeploy
     class CopyCustomConfigJob < Job
       def call
         puts intro
-        system("cp ./custom/*.yaml #{Store.config_path}/")
-        sleep 1
-        system("cp ./custom/custom_phrase.txt #{Store.config_path}/")
+        system("cp -rf custom/. #{Store.config_path}/")
         sleep 1
         return :next
       end