mirror of https://github.com/procxx/kepka.git
Build function countBetaVersionSignature() when autoupdater is disabled because it is needed by boxes/aboutbox.cpp.
Signed-off-by: Eduardo Sánchez Muñoz <eduardosanchezmunoz@gmail.com> (github: eduardosm)
This commit is contained in:
parent
d80b378ae2
commit
f8e006001b
|
@ -569,6 +569,8 @@ bool checkReadyUpdate() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
QString countBetaVersionSignature(uint64 version) { // duplicated in packer.cpp
|
QString countBetaVersionSignature(uint64 version) { // duplicated in packer.cpp
|
||||||
if (cBetaPrivateKey().isEmpty()) {
|
if (cBetaPrivateKey().isEmpty()) {
|
||||||
LOG(("Error: Trying to count beta version signature without beta private key!"));
|
LOG(("Error: Trying to count beta version signature without beta private key!"));
|
||||||
|
@ -612,5 +614,3 @@ QString countBetaVersionSignature(uint64 version) { // duplicated in packer.cpp
|
||||||
signature = signature.replace('-', '8').replace('_', 'B');
|
signature = signature.replace('-', '8').replace('_', 'B');
|
||||||
return QString::fromUtf8(signature.mid(19, 32));
|
return QString::fromUtf8(signature.mid(19, 32));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -66,6 +66,6 @@ private:
|
||||||
|
|
||||||
bool checkReadyUpdate();
|
bool checkReadyUpdate();
|
||||||
|
|
||||||
QString countBetaVersionSignature(uint64 version);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
QString countBetaVersionSignature(uint64 version);
|
||||||
|
|
Loading…
Reference in New Issue