No solution, I'm afraid, but I feel your pain.
The ST-Link Utility was (is!) simple, light weight, fast, easy to use, etc etc.
The newer ST 'cube' programming tool (whatever it's called) is, by contrast, fat, bloated, awkward, generally inferior in all the ways that matter - but, sadly, required for recent generations of MCU like the G4.