Skip to content
Snippets Groups Projects
Commit 9be562fa authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

file system: fix paths

Change-Id: I1ba26c2c6fadff924ca8bb7f9a5f4cc99c4f5473
parent 74d46c9f
Branches
No related tags found
No related merge requests found
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseLib|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseLib|x64'">
<TargetExt>.lib</TargetExt> <TargetExt>.lib</TargetExt>
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\bin\</OutDir> <OutDir>$(ProjectDir)$(Platform)\$(Configuration)\bin\</OutDir>
<TargetName>dring</TargetName> <TargetName>dring</TargetName>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugLib|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugLib|x64'">
......
...@@ -382,7 +382,7 @@ get_cache_dir() ...@@ -382,7 +382,7 @@ get_cache_dir()
emitSignal<DRing::ConfigurationSignal::GetAppDataPath>(&paths); emitSignal<DRing::ConfigurationSignal::GetAppDataPath>(&paths);
if (not paths.empty()) if (not paths.empty())
cache_path = paths[0]; cache_path = paths[0];
return cache_path + DIR_SEPARATOR_STR + std::string("cache"); return cache_path + DIR_SEPARATOR_STR + std::string(".cache");
#else #else
const std::string cache_home(XDG_CACHE_HOME); const std::string cache_home(XDG_CACHE_HOME);
...@@ -502,7 +502,7 @@ get_config_dir() ...@@ -502,7 +502,7 @@ get_config_dir()
emitSignal<DRing::ConfigurationSignal::GetAppDataPath>(&paths); emitSignal<DRing::ConfigurationSignal::GetAppDataPath>(&paths);
if (not paths.empty()) if (not paths.empty())
files_path = paths[0]; files_path = paths[0];
return files_path + DIR_SEPARATOR_STR + std::string(".data"); return files_path + DIR_SEPARATOR_STR + std::string(".config");
#else #else
std::string configdir = fileutils::get_home_dir() + DIR_SEPARATOR_STR + std::string configdir = fileutils::get_home_dir() + DIR_SEPARATOR_STR +
".config" + DIR_SEPARATOR_STR + PACKAGE; ".config" + DIR_SEPARATOR_STR + PACKAGE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment