From 3a517fd4f2aac3097d53d350bfb7c27cadfe109c Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Tue, 7 Nov 2017 15:27:25 -0500 Subject: [PATCH] Fixes installer crash [TGSDeploy] --- TGInstallerWrapper/Main.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TGInstallerWrapper/Main.cs b/TGInstallerWrapper/Main.cs index fb91b05329..4fb2ae29a9 100644 --- a/TGInstallerWrapper/Main.cs +++ b/TGInstallerWrapper/Main.cs @@ -73,7 +73,7 @@ namespace TGInstallerWrapper var verifiedConnection = Interface.ConnectionStatus().HasFlag(ConnectivityLevel.Administrator); try { - VersionLabel.Text = Interface.GetComponent().Version(); + VersionLabel.Text = Interface.GetService().Version(); var isV0 = VersionLabel.Text.Contains("v3.0"); if (isV0) //OH GOD!!!! MessageBox.Show("Upgrading from version 3.0 may trigger a bug that can delete /config and /data. IT IS STRONGLY RECCOMMENDED THAT YOU BACKUP THESE FOLDERS BEFORE UPDATING!", "Warning"); @@ -98,7 +98,7 @@ namespace TGInstallerWrapper var connectionVerified = Interface.ConnectionStatus().HasFlag(ConnectivityLevel.Administrator); try { - Interface.GetComponent().PrepareForUpdate(); + Interface.GetService().PrepareForUpdate(); Thread.Sleep(3000); //chat messages return true; }