Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit d8a9fc9

Browse files
committed
polish last details
1 parent 61b9cf9 commit d8a9fc9

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

Interop/Updater/UpdateCheck.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
using System;
33
using System.Collections.Generic;
44
using System.Linq;
5-
using System.Reflection;
6-
using System.Text.RegularExpressions;
75
using System.Threading.Tasks;
86
using Octokit;
97

@@ -58,9 +56,9 @@ private static async Task CheckInternal()
5856
}
5957
else
6058
{
61-
if (info.Updater == null)
59+
if (info.Updater == null || info.Portable == null)
6260
{
63-
throw new Exception("A new release was pushed, but no valid update assets were found.");
61+
throw new Exception("A new release was pushed, but one or more assets were not found.");
6462
}
6563
info.IsAvailable = true;
6664
}
@@ -110,7 +108,7 @@ private static async Task<IEnumerable<Release>> GetAllReleases()
110108
};
111109

112110
var client = new GitHubClient(new ProductHeaderValue("spcode-client"));
113-
var releases = await client.Repository.Release.GetAll("maxijabase", "SPCode", apiOptions);
111+
var releases = await client.Repository.Release.GetAll("SPCodeOrg", "SPCode", apiOptions);
114112
#if BETA
115113
var finalReleasesList = releases.Where(x => x.Prerelease);
116114
#else

Interop/Updater/UpdateWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void PrepareUpdateWindow(bool OnlyChangelog = false)
7373
{
7474
if (OnlyChangelog)
7575
{
76-
Title = "SPCode Changelog (change 1)";
76+
Title = "SPCode Changelog";
7777
MainLine.Visibility = Visibility.Hidden;
7878
ActionYesButton.Visibility = Visibility.Hidden;
7979
ActionNoButton.Visibility = Visibility.Hidden;

UI/MainWindow/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public MainWindow(SplashScreen sc)
8282
}
8383

8484
// Set title
85-
Title = NamesHelper.ProgramPublicName + "(change 2 1.8.2.0.beta(tuvieja))";
85+
Title = NamesHelper.ProgramPublicName;
8686

8787
// Timer to select the newly opened editor 200ms after it has been opened
8888
SelectDocumentTimer = new DispatcherTimer()

0 commit comments

Comments
 (0)