mirror of
https://github.com/QuasarApp/Patronum.git
synced 2025-05-06 20:19:34 +00:00
try to fix snap path
This commit is contained in:
parent
75db0080ef
commit
0a9e41e8d9
@ -20,8 +20,7 @@ LocalSocket::LocalSocket(const QString &target, QObject *ptr):
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
if (QuasarAppUtils::PlatformUtils::isSnap()) {
|
||||
QDir().mkpath(QStandardPaths::writableLocation(QStandardPaths::CacheLocation));
|
||||
m_target = QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + "/P" + target;
|
||||
m_target = "~/P" + target;
|
||||
} else {
|
||||
m_target = "P" + target;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user