Skip to content

Commit

Permalink
Changed update URL to point to B2
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomEngy committed Jan 25, 2022
1 parent 799d6e0 commit e50452d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions VidCoder/Utilities/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public static class Utilities
public const int LastUpdatedEncodingProfileDatabaseVersion = 44;
public const int LastUpdatedPickerDatabaseVersion = 45;

public const string SquirrelUpdateUrlBase = "https://vidcoder-squirrel.s3.us-west-2.amazonaws.com";
public const string SquirrelUpdateUrlBeta = "https://f001.backblazeb2.com/file/vidcoder-squirrel-beta";
public const string SquirrelUpdateUrlStable = "https://f001.backblazeb2.com/file/vidcoder-squirrel-stable";

static Utilities()
{
Expand Down Expand Up @@ -133,7 +134,7 @@ public static string SquirrelUpdateUrl
{
get
{
return SquirrelUpdateUrlBase + (CommonUtilities.Beta ? "/beta" : "/stable");
return CommonUtilities.Beta ? SquirrelUpdateUrlBeta : SquirrelUpdateUrlStable;
}
}

Expand Down

0 comments on commit e50452d

Please sign in to comment.