that's true -- but given that not all desktop environments respect the idea of *.desktop , and not all distributions use /.local/share, so , pedantically, the parent that suggests 'taskset -c 0-4 ZoomLauncher' suggests a tip that will work on just about every linux distribution, however the git snippet that was linked as the parent of this thread will only work on a handful of distribution/desktop-environment combinations.
tl;dr : parent to your comment suggests a more generalized 'for linux' solution that doesn't depend on specific flavor nuances and desktop environs.
(user 10000truths has a good point, it sets memory ceilings as well -- this should still be done in a way that is distro-agnostic.)
I'm definitely not familiar with the tricks they're doing here. Looks like an ini file!