]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
Fix VTOY_WIN11_BYPASS_CHECK/VTOY_WIN11_BYPASS_NRO option web page display issue.
authorlongpanda <admin@ventoy.net>
Sat, 7 Jan 2023 12:14:38 +0000 (20:14 +0800)
committerlongpanda <admin@ventoy.net>
Sat, 7 Jan 2023 12:14:38 +0000 (20:14 +0800)
Plugson/src/Web/ventoy_http.c
Plugson/vs/VentoyPlugson/Release/VentoyPlugson.exe
Plugson/vs/VentoyPlugson/x64/Release/VentoyPlugson_X64.exe

index 2fdc3e75e3649a61b27dd2ad5fc83ac8eacf5ef6..ac5c1797b5a013ba33eb780978962250923a9f75 100644 (file)
@@ -4134,11 +4134,11 @@ static int ventoy_parse_control(VTOY_JSON *json, void *p)
             }
             else if (strcmp(child->pcName, "VTOY_WIN11_BYPASS_CHECK") == 0)
             {
-                CONTROL_PARSE_INT_DEF_0(child, data->win11_bypass_check);
+                CONTROL_PARSE_INT_DEF_1(child, data->win11_bypass_check);
             }
             else if (strcmp(child->pcName, "VTOY_WIN11_BYPASS_NRO") == 0)
             {
-                CONTROL_PARSE_INT_DEF_0(child, data->win11_bypass_nro);
+                CONTROL_PARSE_INT_DEF_1(child, data->win11_bypass_nro);
             }
             else if (strcmp(child->pcName, "VTOY_LINUX_REMOUNT") == 0)
             {
index 6495195e3e1ad545e4f1351f5bc0f94f217edfe8..9e0f026302feb174efaf7949887ca640d71fd469 100644 (file)
Binary files a/Plugson/vs/VentoyPlugson/Release/VentoyPlugson.exe and b/Plugson/vs/VentoyPlugson/Release/VentoyPlugson.exe differ
index 7f8067315da798351ddc274a2441e96fb275fa55..0f51ab0368ec34681e1fc317dfbf9aade281a307 100644 (file)
Binary files a/Plugson/vs/VentoyPlugson/x64/Release/VentoyPlugson_X64.exe and b/Plugson/vs/VentoyPlugson/x64/Release/VentoyPlugson_X64.exe differ