Store all files in the current directory for portable installations. Fixes #43

This commit is contained in:
Cameron Gutman 2018-08-16 21:04:47 -07:00
commit 38ff2bf5cb
6 changed files with 79 additions and 12 deletions

16
app/path.h Normal file
View file

@ -0,0 +1,16 @@
#pragma once
#include <QString>
class Path
{
public:
static QString getLogDir();
static QString getBoxArtCacheDir();
static void initialize(bool portable);
static QString s_LogDir;
static QString s_BoxArtCacheDir;
};