forked from quickshell/quickshell
core/command: allow qs log
to retrieve logs of dead instances
If no live instances are found matching the current config, the youngest dead instance will be used instead.
This commit is contained in:
parent
0662c37d67
commit
eabf79ebb6
3 changed files with 28 additions and 16 deletions
|
@ -20,8 +20,9 @@ public:
|
|||
static QDir crashDir(const QString& id);
|
||||
static QString basePath(const QString& id);
|
||||
static QString ipcPath(const QString& id);
|
||||
static bool checkLock(const QString& path, InstanceLockInfo* info = nullptr);
|
||||
static QVector<InstanceLockInfo> collectInstances(const QString& path);
|
||||
static bool
|
||||
checkLock(const QString& path, InstanceLockInfo* info = nullptr, bool allowDead = false);
|
||||
static QVector<InstanceLockInfo> collectInstances(const QString& path, bool fallbackDead = false);
|
||||
|
||||
QDir* cacheDir();
|
||||
QDir* baseRunDir();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue