Browse Source

[gamemode] make option available on all nixes

Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/353/head
lizzie 4 months ago
committed by Caio Oliveira
parent
commit
2769640e35
No known key found for this signature in database GPG Key ID: 362DA3DC1901E080
  1. 4
      src/yuzu/main.cpp

4
src/yuzu/main.cpp

@ -122,7 +122,9 @@ int main(int argc, char* argv[]) {
// the user folder in the Qt Frontend, we need to cd into that working directory
const auto bin_path = Common::FS::GetBundleDirectory() / "..";
chdir(Common::FS::PathToUTF8String(bin_path).c_str());
#elif defined(__unix__) && !defined(__ANDROID__)
#endif
#ifdef __unix__
// Set the DISPLAY variable in order to open web browsers
// TODO (lat9nq): Find a better solution for AppImages to start external applications
if (QString::fromLocal8Bit(qgetenv("DISPLAY")).isEmpty()) {

Loading…
Cancel
Save