Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
These alternative constructors are causing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Feb 2, 2022
1 parent 644861a commit 88e1cc8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 29 deletions.
21 changes: 1 addition & 20 deletions src/Squirrel/GithubUpdateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,7 @@ public class GithubUpdateManager : UpdateManager
private readonly string _accessToken;
private readonly bool _prerelease;

/// <inheritdoc cref="UpdateManager(string)"/>
/// <param name="repoUrl">
/// The URL of the GitHub repository to download releases from
/// (e.g. https://github.com/myuser/myrepo)
/// </param>
/// <param name="prerelease">
/// If true, the latest pre-release will be downloaded. If false, the latest
/// stable release will be downloaded.
/// </param>
/// <param name="accessToken">
/// The GitHub access token to use with the request to download releases.
/// If left empty, the GitHub rate limit for unauthenticated requests allows
/// for up to 60 requests per hour, limited by IP address.
/// </param>
public GithubUpdateManager(string repoUrl, bool prerelease = false, string accessToken = null)
: this(repoUrl, prerelease, accessToken, null, null, null)
{
}

/// <inheritdoc cref="UpdateManager(string)"/>
/// <inheritdoc cref="UpdateManager(string, string, string, IFileDownloader)"/>
/// <param name="repoUrl">
/// The URL of the GitHub repository to download releases from
/// (e.g. https://github.com/myuser/myrepo)
Expand Down
9 changes: 0 additions & 9 deletions src/Squirrel/UpdateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,6 @@ public partial class UpdateManager : IUpdateManager
/// <param name="urlOrPath">
/// The URL where your update packages or stored, or a local package repository directory.
/// </param>
public UpdateManager(string urlOrPath)
: this(urlOrPath, null, null, null)
{
}

/// <inheritdoc cref="UpdateManager(string)"/>
/// <param name="urlOrPath">
/// The URL where your update packages or stored, or a local package repository directory.
/// </param>
/// <param name="applicationIdOverride">
/// The Id of your application should correspond with the
/// appdata directory name, and the Id used with Squirrel releasify/pack.
Expand Down

0 comments on commit 88e1cc8

Please sign in to comment.