Referenced in #1 , there are some changes that need to be made to allow for non-windows platforms to compile and run VGT. I briefly had it working on both Linux and Mac, but since I no longer have access to Apple hardware, I'd like to focus on Linux compatibility for now.
From my own experimentation, it seems like Wayland has some incompatibilities with Electron's/Chromium's desktopCapturer module, but xorg was able to take screenshots without any additional tinkering.
Referenced in #1 , there are some changes that need to be made to allow for non-windows platforms to compile and run VGT. I briefly had it working on both Linux and Mac, but since I no longer have access to Apple hardware, I'd like to focus on Linux compatibility for now.
From my own experimentation, it seems like Wayland has some incompatibilities with Electron's/Chromium's desktopCapturer module, but xorg was able to take screenshots without any additional tinkering.
Additionally, some helper functions for determining screen point location are not available cross-platform, so a different way to calculate the screenshot positions/dimensions will be necessary. See changes here: https://github.com/rDarge/VGT/commit/e44e925ce5ffc28e4f1a35a65200f3dd843812e1 and the corresponding scale factor fix here: https://github.com/rDarge/VGT/commit/579a13ec56db856a39d4c0ad5f429e6059460a4d
Lastly, the window names are slightly different platform-to-platform, so the default window name corresponding to each OS needs to be recognized by the backend to prevent the app from selfdestructing: https://github.com/rDarge/VGT/commit/7f9ee01f54183f4511b3c5f8cecfa4f745530500