Skip to content

Commit

Permalink
We no longer use a private repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrapivin committed Dec 25, 2021
1 parent f957922 commit fae01b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,3 @@ for Windows and Linux there's a VS publishing profile called `ReleaseProfile`, u

for macOS, open `View` -> `Terminal`, type `./macOSBuild.ps1`, hit Enter, wait for the `.app` "folder" in `SpaghettiCh2/bin/Release/net5.0/publish/USPMac`. Archive as .tar under Windows.

In this open source release the token is [[REDACTED]], 🙃, that's normal.
3 changes: 1 addition & 2 deletions SpaghettiCh2/SpaghettiCh2/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -322,12 +322,11 @@ public async Task CheckAssetsUpdate()
{
try
{
// TODO: implement asset autoupdating...
AssetError = true;
AssetErrorMessage = StringsModel.UICheckingForUpdates;

MyClient.Timeout = TimeSpan.FromSeconds(4.0);
MyClient.DefaultRequestHeaders.Add("Authorization", "token [[REDACTED]]");
// MyClient.DefaultRequestHeaders.Add("Authorization", "token [[REDACTED]]");
MyClient.DefaultRequestHeaders.CacheControl = new CacheControlHeaderValue() { NoCache = true };
var baseurl = "https://raw.githubusercontent.com/USPAssets/Online/main/";
var reply = await MyClient.GetStringAsync(baseurl + "Version.txt");
Expand Down

0 comments on commit fae01b8

Please sign in to comment.