JS_EXPORT_API void installer_emit_webview_ok () { static gboolean inited = FALSE; if (!inited) { inited = TRUE; xrandr_size = get_xrandr_size (); init_parted (); if (is_use_wubi ()) { g_debug ("emit webview ok:use wubi\n"); opt_automatic = TRUE; sync_wubi_config (); } } }
JS_EXPORT_API void installer_emit_webview_ok () { static gboolean inited = FALSE; if (!inited) { inited = TRUE; if (nowm){ js_post_signal("without_wm"); } if (is_virtual_pc()){ js_post_signal("is_virtual_machine"); } if (auto_conf_path == NULL) { init_parted (); }else{ js_post_signal("auto_mode"); } } }