For the three platforms you mentioned, it would need to be redone from scratch:
Windows: probably a simple 1 to 1 translation into powershell. I’ve never used powershell so there’s some uncertainty there.
Android/iOS: complete rewrite taking into account the specifics of a mobile platform (battery usage, permissions, and more + rewriting it in the platform’s language of choice like java or swift).
MacOS would probably be simpler as it’s just a bash script. Only things that might have to change are the two programs invoked. Scrot for screenshots would probably have to be swapped out for something MacOS specific. I suspect ffmpeg exists on MacOS via brew so that should “just work.”
For the three platforms you mentioned, it would need to be redone from scratch:
Windows: probably a simple 1 to 1 translation into powershell. I’ve never used powershell so there’s some uncertainty there.
Android/iOS: complete rewrite taking into account the specifics of a mobile platform (battery usage, permissions, and more + rewriting it in the platform’s language of choice like java or swift).
MacOS would probably be simpler as it’s just a bash script. Only things that might have to change are the two programs invoked. Scrot for screenshots would probably have to be swapped out for something MacOS specific. I suspect ffmpeg exists on MacOS via brew so that should “just work.”
Windows: this should probably run over “linux subsystem for windows”