From 3f19e26583caad98456a3211271f6de005b0eb56 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Thu, 31 Dec 2020 18:35:53 +1100 Subject: [PATCH] add exit message after install --- Wox.Core/Updater.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Wox.Core/Updater.cs b/Wox.Core/Updater.cs index 3c40cf69d..f6de2e35a 100644 --- a/Wox.Core/Updater.cs +++ b/Wox.Core/Updater.cs @@ -76,6 +76,12 @@ public void AfterUpdateRunFlowLauncher() Environment.Exit(0); } + + if (FilesFolders.FileExits(Path.Combine(Constant.ApplicationDirectory, flowLauncherFilename + ".installed"))) + { + MessageBox.Show("You have upgraded to Flow Launcher. Please run that instead.", "Upgraded to Flow Launcher"); + Environment.Exit(0); + } } private void AfterUpdateCopyWoxSettings()