Fix: prepend file schema to open content folder path on macOS
Resolves #552
Prepending file schema to open content folder path. This will still work on Windows and other OSs.
If someone can check if always prepending "file://" also works on other platforms there would not be the need for this kind of workaround.
Works on Linux as well :+1:. Can someone please test it on Windows
@Jomosoto would you mind testing this branch on Linux as well: https://github.com/alopix/Libre-TrainSim/tree/552-macos-open-content-folder-fix-alternative
It prepends file:// all the time instead of checking for OS. I am wondering if this is handled automatically by godot or if there really needs an OS check
Yes, that's what I tested. Sorry forgot to mention
Ah cool, thanks that is brilliant. Once there is a Windows confirmation I can change this PR to the simple code then
I’ve pushed the simpler changes into the branch 👍
Thank you for the patience and congratulations for your first merged contribution 🎉
Also thanks @Jomosoto for the review and merge. I have no clue how to merge with the mobile app xD