dependabot[bot] on github_actions
Bump dependabot/fetch-metadata … (compare)
github-actions[bot] on nuget
github-actions[bot] on develop
Bump Verify.NUnit from 19.7.1 t… Merge pull request #501 from Wi… (compare)
dependabot[bot] on nuget
Bump Verify.NUnit from 19.7.1 t… (compare)
github-actions[bot] on develop
Bump Verify.NUnit from 19.7.0 t… Merge pull request #500 from Wi… (compare)
github-actions[bot] on nuget
dependabot[bot] on nuget
Bump Verify.NUnit from 19.7.0 t… (compare)
github-actions[bot] on develop
Bump Verify.NUnit from 19.6.0 t… Merge pull request #499 from Wi… (compare)
github-actions[bot] on nuget
Oh ok, so my best bet is something like this?
updateService.HandleUpdatesAsync();
if (updateService.IsUpdatedInstalled)
{
System.Diagnostics.Process.Start(System.Windows.Application.ResourceAssembly.Location, Environment.GetCommandLineArgs());
System.Windows.Application.Current.Shutdown();
}
I would also like a yes/no dialog to pop up with a message like "The application was just updated. Would you like to restart it now?", sorry for my newbish question but which way is easiest to do this?
if (await messageService.Show("Are you sure you want to do this?", "Are you sure?", MessageButton.YesNo) == MessageResult.Yes)
{
// Do it!
}
<configSections>
<sectionGroup name="catel">
<section name="logging" type="Catel.Logging.LoggingConfigurationSection, Catel.Core" />
</sectionGroup>
</configSections>
<catel>
<logging>
<listeners>
<!--TODO: the line below must be commented out in stable release-->
<!--<listener type="Catel.Logging.FileLogListener" IgnoreCatelLogging="true" IsDebugEnabled="true" IsInfoEnabled="true" IsWarningEnabled="true" IsErrorEnabled="true" />-->
</listeners>
</logging>
</catel>
@GeertvanHorrik
It seems that the "IsUpdatedInstalled" is never set to true, even if the application was updated.
https://github.com/WildGums/Orc.Squirrel/blob/develop/src/Orc.Squirrel/Orc.Squirrel.Shared/Services/UpdateService.cs#L210
In my observations, the exit code is always 0, even if the application was successfully updated.