about summary refs log tree commit diff
path: root/nixpkgs/pkgs/misc/emulators/ryujinx/disable-updater.patch
blob: e233aec7ca132b5982673cdbc4744bf80c99bf65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff --git a/Ryujinx/Program.cs b/Ryujinx/Program.cs
index 29043bb8..d3973c7c 100644
--- a/Ryujinx/Program.cs
+++ b/Ryujinx/Program.cs
@@ -54,9 +54,6 @@ namespace Ryujinx
                 }
             }

-            // Delete backup files after updating.
-            Task.Run(Updater.CleanupUpdate);
-
             Toolkit.Init(new ToolkitOptions
             {
                 Backend = PlatformBackend.PreferNative
@@ -146,11 +143,6 @@ namespace Ryujinx
                 mainWindow.LoadApplication(launchPathArg);
             }

-            if (ConfigurationState.Instance.CheckUpdatesOnStart.Value && Updater.CanUpdate(false))
-            {
-                _ = Updater.BeginParse(mainWindow, false);
-            }
-
             Application.Run();
         }

@@ -200,4 +192,4 @@ namespace Ryujinx
             Logger.Shutdown();
         }
     }
-}
\ No newline at end of file
+}