Hello !
Can you give me an example in order to display an icon in front of each "iso" file used.
I don't really understand the doc
https://www.ventoy.net/en/plugin_menuclass.html
The isos files are in a directory named isos
I created a sub directory named icons (+ icons) in the theme directory
the icon names correspond to the key line of the ventoy file
In the ventoy.json file, I have these lines...
{
"theme": {
"file": "/ventoy/theme/Vimix/theme.txt",
"gfxmode": "1920x1080."
"display_mode": "GUI",
"ventoy_left": "5%."
"ventoy_top": "95%",
"ventoy_color": "#0000ff"
}
}
{
"menu_class": [
{
"key": "Acronis."
"class": "Acronis_Bootable_PE_Media_06.2020"
},
{
"key." Acronis-Backup-advanced",
"class": "Acronis_Backup_Advanced_11.7_50230_en"
},
{
"key": "R-Drive-Image",
"class": "R-DriveImage."
}
]
}
exemple :
my iso name is Acronis_Bootable_PE_Media_06.2020.iso ( in the folder ISOS)
the respective icon is named 'Acronis.png (in the folder theme/icons )
Greetings
Can you give me an example in order to display an icon in front of each "iso" file used.
I don't really understand the doc
https://www.ventoy.net/en/plugin_menuclass.html
The isos files are in a directory named isos
I created a sub directory named icons (+ icons) in the theme directory
the icon names correspond to the key line of the ventoy file
In the ventoy.json file, I have these lines...
{
"theme": {
"file": "/ventoy/theme/Vimix/theme.txt",
"gfxmode": "1920x1080."
"display_mode": "GUI",
"ventoy_left": "5%."
"ventoy_top": "95%",
"ventoy_color": "#0000ff"
}
}
{
"menu_class": [
{
"key": "Acronis."
"class": "Acronis_Bootable_PE_Media_06.2020"
},
{
"key." Acronis-Backup-advanced",
"class": "Acronis_Backup_Advanced_11.7_50230_en"
},
{
"key": "R-Drive-Image",
"class": "R-DriveImage."
}
]
}
exemple :
my iso name is Acronis_Bootable_PE_Media_06.2020.iso ( in the folder ISOS)
the respective icon is named 'Acronis.png (in the folder theme/icons )
Greetings