summaryrefslogtreecommitdiffstats
path: root/src/utau/openutau/UpdaterDialog.axaml.cs
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-06-14 07:13:27 +0200
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-06-14 07:13:27 +0200
commit712fbefa876ce7921f07dbd0d9fd2008ca92a909 (patch)
tree1b6f16d0df6acaf99da2cc7cfb4b1be92ba7e5e9 /src/utau/openutau/UpdaterDialog.axaml.cs
parente36285e238ab2216b93b83a33d9d74c95c017ce0 (diff)
downloadalpine-packages-712fbefa876ce7921f07dbd0d9fd2008ca92a909.tar.gz
alpine-packages-712fbefa876ce7921f07dbd0d9fd2008ca92a909.tar.bz2
alpine-packages-712fbefa876ce7921f07dbd0d9fd2008ca92a909.tar.lz
alpine-packages-712fbefa876ce7921f07dbd0d9fd2008ca92a909.zip

utau/openutau: Remove update checks

Diffstat (limited to 'src/utau/openutau/UpdaterDialog.axaml.cs')
-rw-r--r--src/utau/openutau/UpdaterDialog.axaml.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/utau/openutau/UpdaterDialog.axaml.cs b/src/utau/openutau/UpdaterDialog.axaml.cs
new file mode 100644
index 0000000..6a14657
--- /dev/null
+++ b/src/utau/openutau/UpdaterDialog.axaml.cs
@@ -0,0 +1,27 @@
+// this really should be a patch file but ended up being easier like this
+using System;
+using System.Threading;
+using System.Threading.Tasks;
+using Avalonia.Controls;
+using NetSparkleUpdater.Enums;
+using OpenUtau.App.ViewModels;
+using OpenUtau.Core.Util;
+using Serilog;
+
+namespace OpenUtau.App.Views {
+ public partial class UpdaterDialog : Window {
+ public readonly UpdaterViewModel ViewModel;
+ public UpdaterDialog() {
+ InitializeComponent();
+ DataContext = ViewModel = new UpdaterViewModel();
+ }
+
+ void OnClosing(object sender, WindowClosingEventArgs e) {
+ ViewModel.OnClosing();
+ }
+
+ public static void CheckForUpdate(Action<Window> showDialog, Action closeApplication, TaskScheduler scheduler) {
+ // No-op.
+ }
+ }
+}