Linux: store config in ~/.config/Vocaluxe instead of in install dir

because we might not have permission to write there if installed as a package
If that folder doesn't exist, create it and copy the default profiles there,
so they show up but can still be edited or removed
This commit is contained in:
derivator committed 2015-03-01 02:14:01 +01:00
1 parent 1b86baa24d
commit acd89bc2d3
3 files changed
+24 -1

No files matched your search

+2 -1
View File
@@ -85,11 +85,12 @@ namespace Vocaluxe
{
// Init Log
CLog.Init();
CLog.StartBenchmark("Init Program");
if (!CProgrammHelper.CheckRequirements())
return;
CProgrammHelper.Init();
CLog.StartBenchmark("Init Program");
CMain.Init();
Application.DoEvents();