Skip to content

Commit bfbd543

Browse files
committed
1.9.12
[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
1 parent 15959fa commit bfbd543

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Source/AutoActions/AutoActionsDaemon.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public AutoActionsDaemon()
9898
SplashScreen splashScreen = new SplashScreen("SplashScreen.png");
9999
splashScreen.Show(true);
100100
//ChangeLanguage( new System.Globalization.CultureInfo("en-US"));
101-
Application.Current.Exit += Current_Exit;
101+
App.Current.Exit += Current_Exit;
102102
Initialize();
103103
splashScreen.Close(new TimeSpan(0, 0, 0, 2));
104104

Source/AutoActions/Globals.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ private void AutoUpdate(GitHubData data)
143143
process.StartInfo = new ProcessStartInfo(Path.Combine(updatePath, "AutoActions.Updater.exe"));
144144
process.StartInfo.Arguments = $"true \"{ (Environment.Is64BitOperatingSystem ? data.DirectDownload64 : data.DirectDownload86)}\" \"{applicationPath.FullName.Substring(0, applicationPath.FullName.Length-1)}\" \"{Process.GetCurrentProcess().ProcessName}\"";
145145
process.Start();
146-
Application.Current.Shutdown();
146+
147+
App.Current.Dispatcher.Invoke(() => Application.Current.Shutdown());
147148
}
148149

149150
private static void DirectoryCopy(string sourceDirName, string destDirName, bool copySubDirs)

Source/AutoActions/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@
5252
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
5353
// indem Sie "*" wie unten gezeigt eingeben:
5454
// [assembly: AssemblyVersion("1.0.*")]
55-
[assembly: AssemblyVersion("1.9.11.0")]
56-
[assembly: AssemblyFileVersion("1.9.11.0")]
55+
[assembly: AssemblyVersion("1.9.12.0")]
56+
[assembly: AssemblyFileVersion("1.9.12.0")]

0 commit comments

Comments
 (0)