Skip to content

Commit

Permalink
1.9.12
Browse files Browse the repository at this point in the history
[New]
- Auto update: You can configure AutoActions to update automatically, if a new release has been published on GitHub

[Bug fixes]
- AutoActions isn't closing for update
  • Loading branch information
Codectory committed Jan 17, 2022
1 parent 15959fa commit bfbd543
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Source/AutoActions/AutoActionsDaemon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public AutoActionsDaemon()
SplashScreen splashScreen = new SplashScreen("SplashScreen.png");
splashScreen.Show(true);
//ChangeLanguage( new System.Globalization.CultureInfo("en-US"));
Application.Current.Exit += Current_Exit;
App.Current.Exit += Current_Exit;
Initialize();
splashScreen.Close(new TimeSpan(0, 0, 0, 2));

Expand Down
3 changes: 2 additions & 1 deletion Source/AutoActions/Globals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ private void AutoUpdate(GitHubData data)
process.StartInfo = new ProcessStartInfo(Path.Combine(updatePath, "AutoActions.Updater.exe"));
process.StartInfo.Arguments = $"true \"{ (Environment.Is64BitOperatingSystem ? data.DirectDownload64 : data.DirectDownload86)}\" \"{applicationPath.FullName.Substring(0, applicationPath.FullName.Length-1)}\" \"{Process.GetCurrentProcess().ProcessName}\"";
process.Start();
Application.Current.Shutdown();

App.Current.Dispatcher.Invoke(() => Application.Current.Shutdown());
}

private static void DirectoryCopy(string sourceDirName, string destDirName, bool copySubDirs)
Expand Down
4 changes: 2 additions & 2 deletions Source/AutoActions/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.9.11.0")]
[assembly: AssemblyFileVersion("1.9.11.0")]
[assembly: AssemblyVersion("1.9.12.0")]
[assembly: AssemblyFileVersion("1.9.12.0")]

0 comments on commit bfbd543

Please sign in to comment.