From 0714971f8c740d5ef6ad92ef79249346edc2250b Mon Sep 17 00:00:00 2001 From: longpanda Date: Sat, 7 Jan 2023 20:14:38 +0800 Subject: [PATCH] Fix VTOY_WIN11_BYPASS_CHECK/VTOY_WIN11_BYPASS_NRO option web page display issue. --- Plugson/src/Web/ventoy_http.c | 4 ++-- .../VentoyPlugson/Release/VentoyPlugson.exe | Bin 371712 -> 371712 bytes .../x64/Release/VentoyPlugson_X64.exe | Bin 459776 -> 459776 bytes 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugson/src/Web/ventoy_http.c b/Plugson/src/Web/ventoy_http.c index 2fdc3e75e36..ac5c1797b5a 100644 --- a/Plugson/src/Web/ventoy_http.c +++ b/Plugson/src/Web/ventoy_http.c @@ -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) { diff --git a/Plugson/vs/VentoyPlugson/Release/VentoyPlugson.exe b/Plugson/vs/VentoyPlugson/Release/VentoyPlugson.exe index 6495195e3e1ad545e4f1351f5bc0f94f217edfe8..9e0f026302feb174efaf7949887ca640d71fd469 100644 GIT binary patch delta 154 zcmZp;A=Yq1Y=ZzJ)1|~_A;#@OjErx7O@H@?k&VNZoq^%FvjM|&ol2a li%jm*9saPW2>dY?7oTgA>(%k*s!-{!rH3{2LRZ5F`xhd diff --git a/Plugson/vs/VentoyPlugson/x64/Release/VentoyPlugson_X64.exe b/Plugson/vs/VentoyPlugson/x64/Release/VentoyPlugson_X64.exe index 7f8067315da798351ddc274a2441e96fb275fa55..0f51ab0368ec34681e1fc317dfbf9aade281a307 100644 GIT binary patch delta 488 zcmZqZkZI_U*&xBlbT6@4im_dak#V~eBU5Nvy_iS0yF!D70e`C<3j>2oXPLoEQy{~m zS9Em~GlNI>=@;F#Obo3DN)ZZ0Aqq`i@<0^Mf+|dcD3pYlXvp9ChM9rkxSInb0|Ud$ z2S7H^&^D-AGpM2UaO)2M6#%VwdAS{;vKFe67v1{l5QQEu`ydL>G(g<>qz3Fxg!Oqq z`QvUZVC$10Y7aow?trKj^GJsI-U(tV$4g6y%I#2<{phAjf=%TCo5~AOyBexC8KTzR zr`un_v-=#sd<)R$3=HiTGMIpv8Hic7U&vt1X#>W>bi4PgQXo1CNUPpU+?fng$_vCE zKtp?2*cf^~u!4jbU~+tu4VlxYePERl@C&|Z>wD0|rNQZc%o+ZZ((O7QShwqZV7np= E08S8^82|tP delta 488 zcmZqZkZI_U*&xBl#I4XQ#n>*z$hcjKktsB-Uecr6U7^9kkiXTAg@NI?n*k#O1H(%r zAlsu?bVU<0gGcx27ag@s46O%B5o(3NYE8gu*&u4CK-I>et9`}{GS>mD_7;#0G`9h& z)}Xc?Y_J%_5eEFNyMPK@I?G&MZiJ{ThpJ?Un2Jz15u(uJWd}szu?C1!@716=H3KMr z+>HfneGEkHE~wf~HB8AMe<4h@ftbqi(ioz0BUEK4x~aloQ+dFqvP0A^g{qB(sCD$| z_E+%iK9@G3{Xzy45HkZY%k~QytT}DKSeS12o>dA&M*(S7ZiSu6z;I{a1!51NaXl<- z3_TxMK|%~LIljq;%<0oUu*wL0zphgLhA+>fO{MkN2C=YL?K&S=x9fahyCMt#pc0hk