Explorar el Código

feat: add before hook

Mark24 hace 2 años
padre
commit
9faf3072d7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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