Explorar o código

feat: add exit

Mark24 %!s(int64=2) %!d(string=hai) anos
pai
achega
a81ab615ae
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      os/LinuxDistro.rb

+ 4 - 0
os/LinuxDistro.rb

@@ -48,6 +48,10 @@ https://wiki.archlinux.org/title/Rime
                 LinuxDistro.config_path =
                   ::RimeDeploy::Config::LinuxDistro::ConfigPathFcitx5
               end
+            ],
+            [
+              "I'll quit first.After installed Rime byself then run this program again.",
+              -> { exit 0 }
             ]
           ]
         ).call