mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-21 00:58:40 +02:00
tails: write to persistent storage for system packages
This commit is contained in:
@@ -222,6 +222,7 @@ QDir Config::defaultConfigDir() {
|
||||
}
|
||||
|
||||
if (TailsOS::detect()) {
|
||||
#ifdef SELF_CONTAINED
|
||||
QString path = []{
|
||||
QString appImagePath = qgetenv("APPIMAGE");
|
||||
if (appImagePath.isEmpty()) {
|
||||
@@ -241,6 +242,11 @@ QDir Config::defaultConfigDir() {
|
||||
}();
|
||||
|
||||
return QDir(path);
|
||||
#else
|
||||
if (TailsOS::detectDataPersistence()) {
|
||||
return QDir::homePath() + "/Persistent/feather_data";
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
|
||||
Reference in New Issue
Block a user