protonscr

Detect Proton emulation

protonclosed
ValveSoftware/Proton#5686 · opened 2022-03-16 by Symbai · updated 2022-03-16 · 1 comments · github
SSymbai 2022-03-16 github

As a developer how can I detect if my app is launched through Proton? I've searched the Wiki but unfortunately its not explained there.

Kkisak-valve maintainer 2022-03-16 github

Hello @Symbai, Proton, like wine is not an emulator, it's an API/ABI translation layer and games should not bake in assumptions based on if it is being run on Proton. That said, https://wiki.winehq.org/Developer_FAQ#How_can_I_detect_Wine.3F is equally relevant to Proton as it is to upstream wine.

Nothing extracted yet.