aboutsummaryrefslogtreecommitdiff
path: root/src/src/fluorinepaths.h
blob: a32f6ec71c17b3a2cd8b393607ac77b988af46e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef FLUORINEPATHS_H
#define FLUORINEPATHS_H

#include <QString>

/// Returns the shared Fluorine data directory: ~/.local/share/fluorine
/// Uses $HOME directly to bypass Flatpak's XDG_DATA_HOME remapping
/// (the Flatpak has --filesystem=home).
QString fluorineDataDir();

/// One-time migration from the old ~/.var/app/com.fluorine.manager/ path
/// to ~/.local/share/fluorine/. Call before initLogging().
void fluorineMigrateDataDir();

#endif  // FLUORINEPATHS_H