You do have the option to use platform-specific APIs or frameworks, which will make your app only work on that platform.
In the case of this app, it doesn't use anything platform-specific, so it could run on Windows, Linux and macOS.