mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Fixes an issue reported by @rphohl that XSwiftBus is not found
* only download non-restricted versions * utility functions to find non-restricted versions
This commit is contained in:
@@ -200,7 +200,9 @@ namespace BlackGui
|
||||
{
|
||||
const CUpdateInfo updateInfo = m_updates.get();
|
||||
if (updateInfo.getArtifactsXSwiftBus().isEmpty()) { return; }
|
||||
const CArtifactList artifacts = updateInfo.getArtifactsXSwiftBusLatestVersionFirst();
|
||||
const CArtifactList artifacts = updateInfo.getArtifactsXSwiftBusLatestVersionFirst().findWithUnrestrictedDistributions();
|
||||
if (artifacts.isEmpty()) { return; }
|
||||
|
||||
const CRemoteFileList remoteFiles = artifacts.asRemoteFiles();
|
||||
if (!remoteFiles.isEmpty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user