github-actions[bot] on develop
Bump Verify.NUnit from 19.8.1 t… Merge pull request #505 from Wi… (compare)
github-actions[bot] on nuget
dependabot[bot] on nuget
Bump Verify.NUnit from 19.8.1 t… (compare)
github-actions[bot] on develop
Bump Verify.NUnit from 19.8.0 t… Merge pull request #504 from Wi… (compare)
github-actions[bot] on nuget
dependabot[bot] on nuget
Bump Verify.NUnit from 19.8.0 t… (compare)
dependabot[bot] on github_actions
GeertvanHorrik on develop
GitHubSync update Merge pull request #503 from Wi… (compare)
I updated the following:
Catel.Fody from 2.14 to 2.16.2,
Fody from 1.29.4 to 2.0.2,
LoadAssembliesOnStartup.Fody from 1.7.0 to 1.8.1,
MethodTimer.Fody from 1.16.0 to 1.19.0,
ModuleInit.Fody from 1.5.9.0 to 1.6.0,
Mono.Cecil from 0.9.6.1 to 0.10.0-beta6
I do believe that my automatic updates stopped working before this though, but I am not 100% sure.
I do remember that my automatic updates broke from version 0.0.9 to 0.0.10, and at first I believed that it was a bug with squirrel.windows (not accepting number higher than 9). But I found that it stopped working when I tried updating from 0.1.0 to 0.1.1 as well.
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.