fix: enable demo launch only on supported instances

e.g. >= 1.3.1 instances

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-09-15 19:23:58 -03:00
parent 1b2a7de4e2
commit 81e326571b
4 changed files with 31 additions and 1 deletions

View File

@ -69,6 +69,8 @@ public:
// where the instance-local libraries should be
QString getLocalLibraryPath() const;
/** Returns whether the instance, with its version, has support for demo mode. */
[[nodiscard]] bool supportsDemo() const;
////// Profile management //////
std::shared_ptr<PackProfile> getPackProfile() const;