
* Added get_app_path, tweaked pathing to adjust itself for Linux, ... * Added get_app_path * This should be used instead of QCoreApplication::applicationDirPath() * Tweaked pathing to adjust itself for Linux * Append separator to base path * Moved headers where they are needed. (Dunno why they were here.) * Proper pathing for AppImage
11 lines
186 B
C
11 lines
186 B
C
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
bool file_exists(QString file_path);
|
|
bool dir_exists(QString file_path);
|
|
bool exists(QString p_path);
|
|
|
|
QString get_app_path();
|
|
QString get_base_path();
|