From 0df187653f20ec312a3bc1245b4b546bf42ebda0 Mon Sep 17 00:00:00 2001 From: James Sherratt Date: Fri, 29 Mar 2019 20:54:28 +0000 Subject: [PATCH] Added flatpak filepath --- source/game/global/config.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/game/global/config.cpp b/source/game/global/config.cpp index b015db9ff..eed48e53c 100644 --- a/source/game/global/config.cpp +++ b/source/game/global/config.cpp @@ -239,8 +239,11 @@ namespace Game { } if (foundPath == false) { foundPath = - tryCustomPath(cfgType, fileName, - "/usr/local/share/games/glest/"); + tryCustomPath(cfgType, fileName, "/usr/local/share/games/glest/"); + } + if (foundPath == false) { + foundPath = + tryCustomPath(cfgType, fileName, "/app/share/glest/"); } #endif