コード例 #1
0
def check_for_the_first_time():
    """
        Automatically run the channel installer wizard when installing the channel package for the
        first time.
    """
    if is_the_first_load_time():
        installation_wizard.main(g_channelSettings)
コード例 #2
0
    def run(self):
        if load_channel_settings():
            installation_wizard.main(g_channelSettings)

        else:
            log(
                1,
                "Error: Could not load the settings files! g_channelSettings:",
                str(g_channelSettings))