Bug fixes and shell script support

Doesn’t error when pressing cancel anymore, and accepts shell scripts
(OP.GG) to be opened with it.