From 471a4d2dd74897618eade3f49b7290ff1dc27e1d Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Thu, 13 Jul 2017 17:03:31 +0200 Subject: [PATCH] remove version string from home config path - GtkRadiant uses ~/.radiant/1.6.0/ - UFORadiant uses `~/.ufoai/radiant/ - DarkRadiant uses ~/.darkradiant/ - NetRadiant was using uses both ~/.netradiant/1.5.0/ and ~/.netradiant/1.1.5/, which is not defined by the version but the way you build it. - AARadiant uses `~/.aaradiant/1.5.0/ - XrealRadiant used ~/.rxealradiant/ I guess no one Radiant out there needs a version number in config path to not mess with other Radiants. --- radiant/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radiant/main.cpp b/radiant/main.cpp index 97fc2745..e46d903f 100644 --- a/radiant/main.cpp +++ b/radiant/main.cpp @@ -329,7 +329,7 @@ void paths_init(){ { StringOutputStream path( 256 ); - path << home << RADIANT_MAJOR_VERSION "." RADIANT_MINOR_VERSION "." RADIANT_PATCH_VERSION "/"; + path << home << "/"; g_strSettingsPath = path.c_str(); } -- 2.39.2