NotroDev/SkEditorPlus

skeditor:// should open scripts from internet, not only code.skript.pl

Opened this issue · 1 comments

The skeditor:// protocol only opens scripts from code.skript.pl. This app is targeted at English people, so it's not useful for a lot of people. For example, opening skeditor://USP2p94R will open https://code.skript.pl/USP2p94R/raw.
You should add that if I open skeditor://kwiatekmiki.pl/examplescript.sk, the program will open the script from https://kwiatekmiki.pl/examplescript.sk and not try to get the code from https://code.skript.pl/kwiatekmiki.pl/examplescript.sk/raw.

image
Error when I try to visit skeditor://kwiatekmiki.pl/examplescript.sk

For safety, you can do so that it will open only .sk (and .yaml) files.

Also, you can do so skeditor:// without any additional info will open SkEditor+ and not try to get a script from https://code.skript.pl//raw