SaveTool: add a TODO for later.

This commit is contained in:
Guillaume Jacquemin 2023-08-28 15:47:39 +02:00
parent 3fc9243c81
commit ecdf7d736f
Signed by: williamjcm
SSH Key Fingerprint: SHA256:AYLOg+iTV0ElElnlu4vqM4edFazVdRiuQB0Y5LoKc4A
1 changed files with 2 additions and 0 deletions

View File

@ -431,6 +431,8 @@ SaveTool::drawCheckbox(Containers::StringView label, bool value) {
void
SaveTool::openUri(Containers::StringView uri) {
ShellExecuteW(nullptr, nullptr, Utility::Unicode::widen(uri.data()), nullptr, nullptr, SW_SHOWDEFAULT);
// TODO: have it open folders through winebrowser.exe when running using Wine/Proton.
// URLs like Discord invites or Steam Browser Protocol links should be disabled entirely there.
}
void