License page after install finish fix

pull/207/head
parent 150effdc84
commit a61ebbb7d8

@ -429,19 +429,20 @@ int yon_config_save(main_window *widgets){
return 1; return 1;
} }
void yon_config_restore(main_window *widgets){ void yon_config_restore(main_window *){
switch(main_config.load_mode){ yon_load_proceed(main_config.load_mode);
case YON_CONFIG_GLOBAL: // switch(main_config.load_mode){
on_config_global_load(NULL,widgets); // case YON_CONFIG_GLOBAL:
break; // on_config_global_load(NULL,widgets);
case YON_CONFIG_LOCAL: // break;
on_config_local_load(NULL,widgets); // case YON_CONFIG_LOCAL:
break; // on_config_local_load(NULL,widgets);
case YON_CONFIG_CUSTOM: // break;
on_config_custom_load_last(NULL,widgets); // case YON_CONFIG_CUSTOM:
// on_config_custom_load_last(NULL,widgets);
} // }
on_config_global_load(NULL,widgets); // on_config_global_load(NULL,widgets);
yon_launch("ubconfig --source system remove [autoinstall]"); yon_launch("ubconfig --source system remove [autoinstall]");
yon_config_save_simple(YON_CONFIG_LOCAL,"system"); // yon_config_save_simple(YON_CONFIG_LOCAL,"system");
} }

@ -261,7 +261,7 @@ layout && /description:/ {\
#define SYSTEM_LANG_parameter "AUTOINSTALL['ubconfig set [locale] LANG']" #define SYSTEM_LANG_parameter "AUTOINSTALL['ubconfig set [locale] LANG']"
#define SYSTEM_LANG_parameter_command "ubconfig --source global get autoinstall AUTOINSTALL['ubconfig set [locale] LANG']" #define SYSTEM_LANG_parameter_command "ubconfig --source global get autoinstall AUTOINSTALL['ubconfig set [locale] LANG']"
#define get_localisation_command "ubconfig -ea --source global get [autoinstall] AUTOINSTALL[installer_locale] AUTOINSTALL['ubconfig set [locale] LANG'] -- get [locale] LANG" #define get_localisation_command "ubconfig -ea --source global get [autoinstall] AUTOINSTALL[installer_locale] -- get [autoinstall] AUTOINSTALL['ubconfig set [locale] LANG'] -- get [locale] LANG"
#define save_config_command(parameters) yon_char_unite("ubconfig --target system set [autoinstall] AUTOINSTALL[log]=yes ", parameters, "; nice ubinstall2 --debug autoinstall", NULL) #define save_config_command(parameters) yon_char_unite("ubconfig --target system set [autoinstall] AUTOINSTALL[log]=yes ", parameters, "; nice ubinstall2 --debug autoinstall", NULL)

Loading…
Cancel
Save