From 54314fcba6e862c6a8527cdaf79ce3ac4ec39d76 Mon Sep 17 00:00:00 2001 From: "G. Gibson" Date: Fri, 10 Mar 2023 09:44:55 -0800 Subject: [PATCH] Provide for installers --- Services/core.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Services/core.rb b/Services/core.rb index 57d67c2..cca7170 100755 --- a/Services/core.rb +++ b/Services/core.rb @@ -1333,6 +1333,10 @@ module GxG # ### # end + # ### Installer Support + class SoftwareInstaller + # + end # end end @@ -1391,7 +1395,11 @@ core_service.on(:at_start, {:description => "System Service Layer Startup", :usa # ### Startup Scripts Dir.entries("#{::GxG::SYSTEM_PATHS[:system]}/Startup").each do |entry| if File.extname(entry) == ".rb" - require "#{::GxG::SYSTEM_PATHS[:system]}/Startup/#{entry}" + begin + require "#{::GxG::SYSTEM_PATHS[:system]}/Startup/#{entry}" + rescue Exception => the_error + log_error({:error => the_error}) + end end end #