reject zsync file as valid build artifact
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
41bcfb3c07
commit
9d1fffff27
@ -787,6 +787,10 @@ QList<GitHubReleaseAsset> PrismUpdaterApp::validReleaseArtifacts(const GitHubRel
|
|||||||
if (BuildConfig.BUILD_ARTIFACT.isEmpty())
|
if (BuildConfig.BUILD_ARTIFACT.isEmpty())
|
||||||
qWarning() << "Build platform is not set!";
|
qWarning() << "Build platform is not set!";
|
||||||
for (auto asset : release.assets) {
|
for (auto asset : release.assets) {
|
||||||
|
if (asset.name.endsWith("zsync")) {
|
||||||
|
qDebug() << "Rejecting zsync file" << asset.name;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (!m_isAppimage && asset.name.toLower().endsWith("appimage")) {
|
if (!m_isAppimage && asset.name.toLower().endsWith("appimage")) {
|
||||||
qDebug() << "Rejecting" << asset.name << "because it is an AppImage";
|
qDebug() << "Rejecting" << asset.name << "because it is an AppImage";
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user