ソースを参照

Merge branch 'main' into rime-ice

Dew-OF-Aurora 2 週間 前
コミット
15a69bae75
3 ファイル変更9 行追加3 行削除
  1. 3 1
      os/LinuxDistro.rb
  2. 3 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

+ 3 - 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
@@ -39,6 +39,8 @@ module RimeDeploy
         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

+ 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