fix(launcher): bootstrap release state and signed manifest
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
|
||||
namespace UpdateClient
|
||||
{
|
||||
inline bool shouldApplyInitialStateValue(const QString& key,
|
||||
bool storedValueExists,
|
||||
const QString& storedValue,
|
||||
const QString& initialValue)
|
||||
{
|
||||
if (!storedValueExists)
|
||||
return true;
|
||||
|
||||
return key == QStringLiteral("license_key")
|
||||
&& storedValue.trimmed().isEmpty()
|
||||
&& !initialValue.trimmed().isEmpty();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user