# Orchestrator.OrchestratorPySearchInit - auto init .py modules in orchestrator
# No more double logger handlers initialization
# No more double pyOpenRPA.Orchestrator and pyOpenRPA.Orchestrator.__Orchestrator__ initialization - realy singleton
# When init gSettings - default logger level is INFO
@ -14,6 +14,7 @@ if not Orchestrator.OrchestratorIsAdmin():
Orchestrator.OrchestratorRerunAsAdmin()
Orchestrator.OrchestratorRerunAsAdmin()
print(f"Orchestrator will be run as administrator!")
print(f"Orchestrator will be run as administrator!")
elif__name__=="__main__":# New init way - allow run as module -m PyOpenRPA.Orchestrator
elif__name__=="__main__":# New init way - allow run as module -m PyOpenRPA.Orchestrator
#gSettings = Orchestrator.GSettingsGet()
gSettings=SettingsTemplate.Create(inModeStr="BASIC")# Create GSettings with basic configuration - no more config is available from the box - you can create own
gSettings=SettingsTemplate.Create(inModeStr="BASIC")# Create GSettings with basic configuration - no more config is available from the box - you can create own
# TEST Add User ND - Add Login ND to superuser of the Orchestrator
# TEST Add User ND - Add Login ND to superuser of the Orchestrator
@ -23,47 +24,12 @@ elif __name__ == "__main__": # New init way - allow run as module -m PyOpenRPA.O