Closed vezaynk closed 2 years ago
@telesoho Ready for review. I need some help testing it, but I'm fairly confident that everything should just work.
@knyzorg Great job! Thank you. I'm also not sure how to setup cross-platform tests too. Anyway, I published it so that other people can help.
runCommand
(Useexec
instead of streaming output withspawn
)if-else
hell using switchesAccessing clipboard from WSL is done the exact same way as in windows, the only thing to be careful with are that the paths must be converted to window's format.
Tests:
I'm not sure how to setup automated cross-platform tests (especially for WSL). I tested it for WSL, I'll need help testing it for other platforms.
WSL:
Windows 10:
Windows 32:
Darwin (Seems to be missing scripts across the board, no way for it to work):