Explorar el Código

Merge branch 'main' into rime-ice

Dew-OF-Aurora hace 1 mes
padre
commit
728df0b711
Se han modificado 2 ficheros con 2 adiciones y 7 borrados
  1. 1 4
      os/LinuxDistro.rb
  2. 1 3
      os/MacOS.rb

+ 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