"tests/vscode:/vscode.git/clone" did not exist on "b496f5797913141f0b0d69baf55af1c102b7f681"
Commit 85d19107 authored by longpanda's avatar longpanda
Browse files

Enable secure boot support option by default.

parent 9b2b4aa3
No preview for this file type
......@@ -13,7 +13,7 @@ print_usage() {
echo ''
echo ' OPTION: (optional)'
echo ' -r SIZE_MB preserve some space at the bottom of the disk (only for install)'
echo ' -s/-S enable/disable secure boot support (default is disabled)'
echo ' -s/-S enable/disable secure boot support (default is enabled)'
echo ' -g use GPT partition style, default is MBR (only for install)'
echo ' -L Label of the 1st exfat partition (default is Ventoy)'
echo ' -n try non-destructive installation (only for install)'
......@@ -21,6 +21,7 @@ print_usage() {
}
SECUREBOOT="YES"
VTNEW_LABEL='Ventoy'
RESERVE_SIZE_MB=0
while [ -n "$1" ]; do
......
......@@ -38,7 +38,7 @@
#include <gdk/gdkkeysyms.h>
#include "ventoy_gtk.h"
int g_secure_boot_support = 0;
int g_secure_boot_support = 1;
GtkWidget *g_topWindow = NULL;
GtkWidget *g_partCfgWindow = NULL;
GtkBuilder *g_pXmlBuilder = NULL;
......
......@@ -436,7 +436,8 @@ void Ventoy2DiskWindow::OnInitWindow(void)
QPixmap pix2;
char ver[512];
ui->labelVentoyLocalSecure->hide();
//ui->labelVentoyLocalSecure->hide();
ui->actionSecure_Boot_Support->trigger();
m_part_group->addAction(ui->actionMBR);
m_part_group->addAction(ui->actionGPT);
......
......@@ -1043,7 +1043,7 @@
}
on_select_mbr();
secure_boot_check(0);
secure_boot_check(1);
on_enable_preserve_space();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment