lib/mixlib/install/generator/powershell.rb in mixlib-install-0.8.0.alpha.6 vs lib/mixlib/install/generator/powershell.rb in mixlib-install-0.8.0.alpha.7
- old
+ new
@@ -30,9 +30,16 @@
install_command = []
install_command << ps1_modularize(install_project_module.join("\n"), "Omnitruck")
install_command.join("\n\n")
end
+ def self.detect_platform_ps1
+ detect_platform_command = []
+ detect_platform_command << get_script("helpers.ps1")
+ detect_platform_command << get_script("platform_detection.ps1")
+ detect_platform_command.join("\n\n")
+ end
+
def self.script_base_path
File.join(File.dirname(__FILE__), "powershell/scripts")
end
def install_command