Change portable folder to Qt's "Application dir path"

Enable portable mode if there's a "portable" file or folder in the
Application dir path

Fix #334
This commit is contained in:
Rasmus Karlsson
2018-04-14 15:32:41 +02:00
parent 597660af2f
commit 387ac9b2f6
2 changed files with 12 additions and 2 deletions
+5
View File
@@ -14,8 +14,13 @@ public:
bool init(int argc, char **argv);
// %APPDATA%/chatterino or ExecutablePath for portable mode
QString settingsFolderPath;
// %APPDATA%/chatterino/Custom or ExecutablePath/Custom for portable mode
QString customFolderPath;
// %APPDATA%/chatterino/Cache or ExecutablePath/Cache for portable mode
QString cacheFolderPath;
// Logs