Ver Fonte

Merge branch 'main' into rime-wanxiang

Dew-OF-Aurora há 2 semanas atrás
pai
commit
60714c055a
3 ficheiros alterados com 7 adições e 3 exclusões
  1. 3 1
      os/LinuxDistro.rb
  2. 1 1
      os/MacOS.rb
  3. 3 1
      os/Windows.rb

+ 3 - 1
os/LinuxDistro.rb

@@ -61,7 +61,7 @@ https://wiki.archlinux.org/title/Rime
       def call
         puts intro
         system(
-          "git clone --depth=1 #{Config::RIME_CONFIG_REPO} #{Store.config_path}"
+          "git clone #{Config::RIME_CONFIG_REPO} #{Store.config_path}"
         )
         sleep 1
         return :next
@@ -73,6 +73,8 @@ https://wiki.archlinux.org/title/Rime
         puts intro
         system("cp ./custom/*.yaml #{Store.config_path}/")
         sleep 1
+        system("cp ./custom/custom_phrase.txt #{Store.config_path}/")
+        sleep 1
         return :next
       end
     end

+ 1 - 1
os/MacOS.rb

@@ -27,7 +27,7 @@ module RimeDeploy
       def call
         puts intro
         system(
-          "git clone --depth=1 #{Config::RIME_CONFIG_REPO} #{Store.config_path}"
+          "git clone #{Config::RIME_CONFIG_REPO} #{Store.config_path}"
         )
         sleep 1
         return :next

+ 3 - 1
os/Windows.rb

@@ -47,7 +47,7 @@ You can download Rime from: https://rime.im/download/
       def call
         puts intro
         system(
-          "git clone --depth=1 #{Config::RIME_CONFIG_REPO} #{Store.config_path}"
+          "git clone #{Config::RIME_CONFIG_REPO} #{Store.config_path}"
         )
         sleep 1
         return :next
@@ -59,6 +59,8 @@ You can download Rime from: https://rime.im/download/
         puts intro
         system("copy .\\custom\\*.yaml #{Store.config_path}")
         sleep 1
+        system("copy .\\custom\\custom_phrase.txt #{Store.config_path}")
+        sleep 1
         return :next
       end
     end