08-22-2020, 03:37 AM
Would it be possible to support something like the following? (Note the * wildcard in the image names)
{
"injection": [
{
"image": "/ISO/MX-19.1_x64.iso",
"archive": "/driver/mx-driver.tar.gz"
},
{
"image": "/ubuntu-*-desktop-amd64.iso",
"archive": "/driver/ubuntu-driver.tar.bz2"
},
{
"image": "/windows_10_*.iso",
"archive": "/driver/win10-driver.zip"
}
]
}
That way, as we update the ISO files on the USB drive, the injection still works without having to modify ventoy.json each time and for every single iso
{
"injection": [
{
"image": "/ISO/MX-19.1_x64.iso",
"archive": "/driver/mx-driver.tar.gz"
},
{
"image": "/ubuntu-*-desktop-amd64.iso",
"archive": "/driver/ubuntu-driver.tar.bz2"
},
{
"image": "/windows_10_*.iso",
"archive": "/driver/win10-driver.zip"
}
]
}
That way, as we update the ISO files on the USB drive, the injection still works without having to modify ventoy.json each time and for every single iso