increase wait time for browser redirects during app restarts
This commit is contained in:
		@ -79,7 +79,7 @@
 | 
			
		||||
        {
 | 
			
		||||
            ShowProgressIndicator();
 | 
			
		||||
            var interop = new Interop(JSRuntime);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 3);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 10);
 | 
			
		||||
            await ModuleDefinitionService.InstallModuleDefinitionsAsync();
 | 
			
		||||
        }
 | 
			
		||||
        catch (Exception ex)
 | 
			
		||||
 | 
			
		||||
@ -86,7 +86,7 @@ else
 | 
			
		||||
            await logger.LogInformation("Module Downloaded {ModuleDefinitionName} {Version}", moduledefinitionname, version);
 | 
			
		||||
            ShowProgressIndicator();
 | 
			
		||||
            var interop = new Interop(JSRuntime);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 3);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 10);
 | 
			
		||||
            await ModuleDefinitionService.InstallModuleDefinitionsAsync();
 | 
			
		||||
        }
 | 
			
		||||
        catch (Exception ex)
 | 
			
		||||
@ -102,7 +102,7 @@ else
 | 
			
		||||
        {
 | 
			
		||||
            ShowProgressIndicator();
 | 
			
		||||
            var interop = new Interop(JSRuntime);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 3);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 10);
 | 
			
		||||
            await ModuleDefinitionService.DeleteModuleDefinitionAsync(moduleDefinition.ModuleDefinitionId, moduleDefinition.SiteId);
 | 
			
		||||
        }
 | 
			
		||||
        catch (Exception ex)
 | 
			
		||||
 | 
			
		||||
@ -79,7 +79,7 @@
 | 
			
		||||
        {
 | 
			
		||||
            ShowProgressIndicator();
 | 
			
		||||
            var interop = new Interop(JSRuntime);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 3);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 10);
 | 
			
		||||
            await ThemeService.InstallThemesAsync();
 | 
			
		||||
        }
 | 
			
		||||
        catch (Exception ex)
 | 
			
		||||
 | 
			
		||||
@ -87,7 +87,7 @@ else
 | 
			
		||||
            await logger.LogInformation("Theme Downloaded {ThemeName} {Version}", themename, version);
 | 
			
		||||
            ShowProgressIndicator();
 | 
			
		||||
            var interop = new Interop(JSRuntime);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 3);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 10);
 | 
			
		||||
            await ThemeService.InstallThemesAsync();
 | 
			
		||||
        }
 | 
			
		||||
        catch (Exception ex)
 | 
			
		||||
@ -103,7 +103,7 @@ else
 | 
			
		||||
        {
 | 
			
		||||
            ShowProgressIndicator();
 | 
			
		||||
            var interop = new Interop(JSRuntime);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 3);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 10);
 | 
			
		||||
            await ThemeService.DeleteThemeAsync(Theme.ThemeName);
 | 
			
		||||
        }
 | 
			
		||||
        catch (Exception ex)
 | 
			
		||||
 | 
			
		||||
@ -71,7 +71,7 @@
 | 
			
		||||
        {
 | 
			
		||||
            ShowProgressIndicator();
 | 
			
		||||
            var interop = new Interop(JSRuntime);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 3);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 10);
 | 
			
		||||
            await InstallationService.Upgrade();
 | 
			
		||||
        }
 | 
			
		||||
        catch (Exception ex)
 | 
			
		||||
@ -88,7 +88,7 @@
 | 
			
		||||
            await PackageService.DownloadPackageAsync(packageid, version, "Framework");
 | 
			
		||||
            ShowProgressIndicator();
 | 
			
		||||
            var interop = new Interop(JSRuntime);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 3);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 10);
 | 
			
		||||
            await InstallationService.Upgrade();
 | 
			
		||||
        }
 | 
			
		||||
        catch (Exception ex)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user