Ventoy Forums
Parameter does not work: "dir": "ISO", "class": "Super_1" - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: Parameter does not work: "dir": "ISO", "class": "Super_1" (/showthread.php?tid=2124)



Parameter does not work: "dir": "ISO", "class": "Super_1" - BKPB - 06-30-2022

I have three images in the "ISO" folder .iso, 
Windows_7_&_10_Pro_x86_x64_30.05.2021.iso,
Windows_7_Pro_x86_x64_15.12.2021.iso,
Windows_10_21H2_19044.1766_x64.iso.
I assigned the Windows_1 icon to the last two, and the image Windows_10_21H2_19044.1766_x64.iso.
I want to assign a Super icon_1. 
But I can't do it. Tell me where the error is, what am I doing wrong?

"menu_class": [       
        {
            "key": "Windows",
            "class": "Windows_1"
        },
        {
            "dir": "ISO",
            "class": "Super_1"
        },
        {
            "key": "WinPE",
            "class": "WinPE_1"
        },
        {
            "key": "Memtest",
            "class": "Memtest_1"
        }
    ],

    "image_list": [
        "/ISO/Windows_10_21H2_19044.1766_x64.iso",
        "/ISO/Windows_7_&_10_Pro_x86_x64_30.05.2021.iso",
        "/ISO/Windows_7_Pro_x86_x64_15.12.2021.iso",
        "/WinPE/WinPE_Sergei_Strelec_x86_x64_04.01.2022.iso",
        "/Memtest/Memtest86+_4.3.7_&_9.4.iso"
    ],

    "menu_alias":[
        {
            "image":"/ISO/Windows_10_21H2_19044.1766_x64.iso",
            "alias":"Windows 10      21H2  Pro    x86 x64  19044.1645"
        },
        {
            "image":"/ISO/Windows_7_&_10_Pro_x86_x64_30.05.2021.iso",
            "alias":"Windows 7 & 10  21H1  Pro    x86 x64              30.05.2021"       
        },
        {
            "image":"/ISO/Windows_7_Pro_x86_x64_15.12.2021.iso",
            "alias":"Windows 7            Pro    x86 x64              15.12.2021"
        },
        {
            "image":"/WinPE/WinPE_Sergei_Strelec_x86_x64_19.07.2021.iso",
            "alias":"WinPE Sergei Strelec        x86 x64              19.07.2021"
        },
        {
            "image":"/WinPE/WinPE_Sergei_Strelec_x86_x64_04.01.2022.iso",
            "alias":"WinPE Sergei Strelec        x86 x64              04.01.2022"
        },
        {
            "image":"/WinPE/WinPE_Super.iso",
            "alias":"WinPE Super        ( no boot UEFI )"
        },
        {
            "image":"/Memtest/Memtest86+_4.3.7_&_9.4.iso",
            "alias":"Memtest86+            4.3.7  &  9.4"
        }
    ]
}


RE: Parameter does not work: "dir": "ISO", "class": "Super_1" - BKPB - 06-30-2022

I get it
{
"dir": "ISO",
"class": "Super_1"
is not the correct entry for assigning an icon, it is for displaying a folder in the menu.
The question is closed


RE: Parameter does not work: "dir": "ISO", "class": "Super_1" - crasadure - 07-01-2022

Pls use ventoyplugson to create for ventoy.json file
https://www.ventoy.net/en/plugin_plugson.html