mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-02-09 12:48:11 -05:00
Enable secure boot support option by default.
This commit is contained in:
parent
9b2b4aa354
commit
85d1910722
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -13,7 +13,7 @@ print_usage() {
|
|||||||
echo ''
|
echo ''
|
||||||
echo ' OPTION: (optional)'
|
echo ' OPTION: (optional)'
|
||||||
echo ' -r SIZE_MB preserve some space at the bottom of the disk (only for install)'
|
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 ' -g use GPT partition style, default is MBR (only for install)'
|
||||||
echo ' -L Label of the 1st exfat partition (default is Ventoy)'
|
echo ' -L Label of the 1st exfat partition (default is Ventoy)'
|
||||||
echo ' -n try non-destructive installation (only for install)'
|
echo ' -n try non-destructive installation (only for install)'
|
||||||
@ -21,6 +21,7 @@ print_usage() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SECUREBOOT="YES"
|
||||||
VTNEW_LABEL='Ventoy'
|
VTNEW_LABEL='Ventoy'
|
||||||
RESERVE_SIZE_MB=0
|
RESERVE_SIZE_MB=0
|
||||||
while [ -n "$1" ]; do
|
while [ -n "$1" ]; do
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -38,7 +38,7 @@
|
|||||||
#include <gdk/gdkkeysyms.h>
|
#include <gdk/gdkkeysyms.h>
|
||||||
#include "ventoy_gtk.h"
|
#include "ventoy_gtk.h"
|
||||||
|
|
||||||
int g_secure_boot_support = 0;
|
int g_secure_boot_support = 1;
|
||||||
GtkWidget *g_topWindow = NULL;
|
GtkWidget *g_topWindow = NULL;
|
||||||
GtkWidget *g_partCfgWindow = NULL;
|
GtkWidget *g_partCfgWindow = NULL;
|
||||||
GtkBuilder *g_pXmlBuilder = NULL;
|
GtkBuilder *g_pXmlBuilder = NULL;
|
||||||
|
@ -436,7 +436,8 @@ void Ventoy2DiskWindow::OnInitWindow(void)
|
|||||||
QPixmap pix2;
|
QPixmap pix2;
|
||||||
char ver[512];
|
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->actionMBR);
|
||||||
m_part_group->addAction(ui->actionGPT);
|
m_part_group->addAction(ui->actionGPT);
|
||||||
|
@ -1043,7 +1043,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
on_select_mbr();
|
on_select_mbr();
|
||||||
secure_boot_check(0);
|
secure_boot_check(1);
|
||||||
|
|
||||||
on_enable_preserve_space();
|
on_enable_preserve_space();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user