Closed anubhavitis closed 1 year ago
You might be right, there should be a better way to run sh commands, or perhaps getting the os info. But just to understand your pov, what's the issue with spawning a process/command? I mean, this will be a one time thing on the application side. This would be a part of user-boarding flow, which typically occurs once only.
what's the issue with spawning a process/command? I mean, this will be a one time thing on the application side.
True. That's why I mentioned the "in the future..." part. As and when we get time or ideas.
Although I'm hoping that in the future we can find a way to get the macOS version number without spawning a process/command. Or maybe there's a different, more efficient way of validating the support for ScreenCaptureKit that we're missing.