When I had the goats, I found mulching with half rotted manure overwinter kept the cats off. Now I only have a little manure left and it's well rotted so no smell of goats so I laid cardboard over the beds, weighted with bricks in the corners. This year I have planted my courgettes in holes cut out of the cardboard and the cats don't use it, although I have seen next door's cat sitting on the cardboard.
I like the look of those sprays. After a while, the cats would probably not bother to come in.