]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
Enable secure boot support option by default.
authorlongpanda <admin@ventoy.net>
Sun, 12 Jun 2022 09:18:56 +0000 (17:18 +0800)
committerlongpanda <admin@ventoy.net>
Sun, 12 Jun 2022 09:18:56 +0000 (17:18 +0800)
17 files changed:
INSTALL/Ventoy2Disk.exe
INSTALL/Ventoy2Disk_ARM.exe
INSTALL/Ventoy2Disk_ARM64.exe
INSTALL/Ventoy2Disk_X64.exe
INSTALL/tool/aarch64/Ventoy2Disk.gtk3
INSTALL/tool/aarch64/Ventoy2Disk.qt5
INSTALL/tool/i386/Ventoy2Disk.gtk2
INSTALL/tool/i386/Ventoy2Disk.gtk3
INSTALL/tool/i386/Ventoy2Disk.qt5
INSTALL/tool/mips64el/Ventoy2Disk.gtk3
INSTALL/tool/mips64el/Ventoy2Disk.qt5
INSTALL/tool/x86_64/Ventoy2Disk.gtk2
INSTALL/tool/x86_64/Ventoy2Disk.gtk3
INSTALL/tool/x86_64/Ventoy2Disk.qt5
LinuxGUI/Ventoy2Disk/GTK/ventoy_gtk.c
LinuxGUI/Ventoy2Disk/QT/ventoy2diskwindow.cpp
Ventoy2Disk/Ventoy2Disk/WinDialog.c

index 9a8078b6ee14a08d2b8a2282a375e9ffd445f5e7..616aea31807a7e3a54e3d6b0106b58fdbdce63b4 100644 (file)
Binary files a/INSTALL/Ventoy2Disk.exe and b/INSTALL/Ventoy2Disk.exe differ
index ae30e8bf168a784fcbbeb64f4a05d57e838a4773..f72d179c22b9240fbf5bf7aa5a18d46166c44107 100644 (file)
Binary files a/INSTALL/Ventoy2Disk_ARM.exe and b/INSTALL/Ventoy2Disk_ARM.exe differ
index 88c729e5ee44eb770adc9bbdc328bee7fe3a7581..d920a7fa76748f0826888d7b47a6a6bd00fe04d8 100644 (file)
Binary files a/INSTALL/Ventoy2Disk_ARM64.exe and b/INSTALL/Ventoy2Disk_ARM64.exe differ
index 002ead95fc4b03b6d5081ebebbf92865e02a4575..b1119fcc5a3bac9425c8c00c0b5f1d11ddf95248 100644 (file)
Binary files a/INSTALL/Ventoy2Disk_X64.exe and b/INSTALL/Ventoy2Disk_X64.exe differ
index 0d25154d721bd370195b208f8d46c01eca71de14..ce7731834ecdb633be1406abf81a837fd9c2ef65 100644 (file)
Binary files a/INSTALL/tool/aarch64/Ventoy2Disk.gtk3 and b/INSTALL/tool/aarch64/Ventoy2Disk.gtk3 differ
index 763408ed8bbd390d558dc4ec43d29f04e4a34a0b..79eca778dd5983c5dd287043e748e817de5b110a 100644 (file)
Binary files a/INSTALL/tool/aarch64/Ventoy2Disk.qt5 and b/INSTALL/tool/aarch64/Ventoy2Disk.qt5 differ
index 4d2feab66039cbaf47b92728cab269d8d5273996..c2d51841e19de8b2daa0db2cc6c8e48c05c8786f 100644 (file)
Binary files a/INSTALL/tool/i386/Ventoy2Disk.gtk2 and b/INSTALL/tool/i386/Ventoy2Disk.gtk2 differ
index 7d332fe7873d803daed796aeec637501bd36ece6..7b2f5d937c08b577ee5d6b26ada1e3b67fd8088d 100644 (file)
Binary files a/INSTALL/tool/i386/Ventoy2Disk.gtk3 and b/INSTALL/tool/i386/Ventoy2Disk.gtk3 differ
index 04e87815b659a8ec6274809825cdf45841c38a9d..61ed87a1608f8d2d0f8a3520ed50002693e2c9fe 100644 (file)
Binary files a/INSTALL/tool/i386/Ventoy2Disk.qt5 and b/INSTALL/tool/i386/Ventoy2Disk.qt5 differ
index 5a4cc8c1cdbbc44e6b4d32f0e46a2e4cd6833cb1..c07f01c1df2d73972f7d28fa6e4e803759da4a40 100644 (file)
Binary files a/INSTALL/tool/mips64el/Ventoy2Disk.gtk3 and b/INSTALL/tool/mips64el/Ventoy2Disk.gtk3 differ
index 43c3c2e37ccc20c6684dd604a396d7bbbd0b6e7e..924e4a0d5c6304771f124aa86763b1edd092bcd7 100644 (file)
Binary files a/INSTALL/tool/mips64el/Ventoy2Disk.qt5 and b/INSTALL/tool/mips64el/Ventoy2Disk.qt5 differ
index 4ebc7fac03ba28698fb43d0bde7cb5127f83f19e..039f3989169855caa84ea8b5d481dcdecbed4324 100644 (file)
Binary files a/INSTALL/tool/x86_64/Ventoy2Disk.gtk2 and b/INSTALL/tool/x86_64/Ventoy2Disk.gtk2 differ
index 2e7c5d237d90671a9b8aa61ada990aec2d347649..5553fe3f500f1a41935f9528147747c1ada4fe63 100644 (file)
Binary files a/INSTALL/tool/x86_64/Ventoy2Disk.gtk3 and b/INSTALL/tool/x86_64/Ventoy2Disk.gtk3 differ
index 59c77d33221cbf277c0fba5f8c96459561629a85..13860cba9822e5ba5c7f47fd1ac7a8a52e10404b 100644 (file)
Binary files a/INSTALL/tool/x86_64/Ventoy2Disk.qt5 and b/INSTALL/tool/x86_64/Ventoy2Disk.qt5 differ
index f3383bd63f131c5dacb61cb73d667f55dfd70ed4..77096a117663ab761bf72e58c4e5ce386809decb 100644 (file)
@@ -38,7 +38,7 @@
 #include <gdk/gdkkeysyms.h>
 #include "ventoy_gtk.h"
 
-int g_secure_boot_support = 1;
+int g_secure_boot_support = 0;
 GtkWidget *g_topWindow = NULL;
 GtkWidget *g_partCfgWindow = NULL;
 GtkBuilder *g_pXmlBuilder = NULL;
@@ -262,7 +262,7 @@ void on_devlist_changed(GtkWidget *widget, gpointer data)
     }
     else
     {
-        if (g_secure_boot_support)
+        if (!g_secure_boot_support)
         {
             gtk_check_menu_item_set_active(g_menu_item_secure_boot, 1 - g_secure_boot_support);
         }
@@ -1111,6 +1111,8 @@ void on_init_window(GtkBuilder *pBuilder)
     add_accelerator(agMain, g_update_button,  "clicked", GDK_KEY_u);
     add_accelerator(agMain, g_refresh_button, "clicked", GDK_KEY_r);
 
+    gtk_check_menu_item_set_active(g_menu_item_secure_boot, 1 - g_secure_boot_support);
+
     fill_dev_list(NULL);
 
     return;
index e9424da6bdb65064d830196f260992effa5fee98..b0307a20328a2a263b30489ee9eb412fa70a4bb3 100644 (file)
@@ -436,8 +436,7 @@ void Ventoy2DiskWindow::OnInitWindow(void)
     QPixmap pix2;
     char ver[512];
 
-    //ui->labelVentoyLocalSecure->hide();
-    ui->actionSecure_Boot_Support->trigger();
+    ui->labelVentoyLocalSecure->hide();
 
     m_part_group->addAction(ui->actionMBR);
     m_part_group->addAction(ui->actionGPT);
@@ -473,6 +472,8 @@ void Ventoy2DiskWindow::OnInitWindow(void)
     ui->labelVentoyDeviceVer->setText("");
     ui->labelVentoyDevicePartStyle->setText("");
 
+    ui->actionSecure_Boot_Support->trigger();
+
     ui->actionShow_All_Devices->setChecked(ventoy_code_get_cur_show_all());
 
     connect(m_thread, &MyQThread::thread_event, this,  &Ventoy2DiskWindow::thread_event);
@@ -665,7 +666,7 @@ void Ventoy2DiskWindow::on_comboBoxDevice_currentIndexChanged(int index)
     }
     else
     {
-        if (ui->actionSecure_Boot_Support->isChecked())
+        if (!(ui->actionSecure_Boot_Support->isChecked()))
         {
             ui->actionSecure_Boot_Support->trigger();
         }
index d9fe702b053f4862dccf8893212469774488c46a..05dfa60e6dba8a1f77685deaddc0e54a3309f767 100644 (file)
Binary files a/Ventoy2Disk/Ventoy2Disk/WinDialog.c and b/Ventoy2Disk/Ventoy2Disk/WinDialog.c differ