Configured for /dev/disk0s1. Modify If yours is dfferent.
Can also be used for other msdos type partitions other than EFI/ESP if disk and slice are modified for target partition.
If other than EFI/ESP, check with "mount" command first to see if target partition is listed. If desired target partition is listed, umount it before running modified script for mounting target.
Tested with Sonoma and Sequoia beta 5.
EFI.app.7z