Selaa lähdekoodia

feat: add before hook

Mark24 2 vuotta sitten
vanhempi
sitoutus
9faf3072d7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      installer.rb

+ 1 - 1
installer.rb

@@ -42,7 +42,7 @@ module RimeDeploy
       code = <<-CODE
   class #{os_prefix}JobGroup < JobGroup
   end
-  mod = #{os_prefix}JobGroup.new(#{os_prefix}::Jobs, #{os_prefix}::FinishedHook)
+  mod = #{os_prefix}JobGroup.new(#{os_prefix}::BeforeHook, #{os_prefix}::Jobs, #{os_prefix}::FinishedHook)
   mod.call
 
 CODE