This repository was archived by the owner on Sep 11, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 22using System ;
33using System . Collections . Generic ;
44using System . Linq ;
5- using System . Reflection ;
6- using System . Text . RegularExpressions ;
75using System . Threading . Tasks ;
86using 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
Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 ( )
You can’t perform that action at this time.
0 commit comments