Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

Commit

Permalink
add exit message after install
Browse files Browse the repository at this point in the history
  • Loading branch information
jjw24 committed Dec 31, 2020
1 parent 3e9304d commit 3f19e26
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Wox.Core/Updater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3f19e26

Please sign in to comment.