Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion DN.PackageProvider.GitHub.pas
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,12 @@ function TDNGitHubPackageProvider.CreatePackageWithMetaInfo(AItem: TJSONObject;
LPackage.Description := AItem.GetValue('description').Value;
LPackage.DownloadLoaction := AItem.GetValue('archive_url').Value;
LPackage.DownloadLoaction := StringReplace(LPackage.DownloadLoaction, CArchivePlaceholder, 'zipball/', []);
LPackage.Author := LAuthor;

if LHeadInfo.RepositoryUser = '' then
LPackage.Author := LAuthor
else
LPackage.Author := LHeadInfo.RepositoryUser;

LPackage.RepositoryName := LName;
LPackage.DefaultBranch := LDefaultBranch;

Expand Down