From 9cd9263afab78f40036d40f6bbdc398ae0788dbc Mon Sep 17 00:00:00 2001 From: Yousef Khadadeh Date: Wed, 20 May 2026 17:07:41 +0300 Subject: [PATCH] Set forceExtensionOnPath = true on linux by default since some file pickers don't append extensions --- src/GlobalConfig.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GlobalConfig.hpp b/src/GlobalConfig.hpp index 173ce62..60cabca 100644 --- a/src/GlobalConfig.hpp +++ b/src/GlobalConfig.hpp @@ -49,10 +49,10 @@ class GlobalConfig { float guiScale = 1.0f; #endif - #if defined(__EMSCRIPTEN__) || defined(_WIN32) - bool forceExtensionOnPath = true; - #else + #if defined(__ANDROID__) || defined(__APPLE__) bool forceExtensionOnPath = false; + #else + bool forceExtensionOnPath = true; #endif double dragZoomSpeed = 0.02;