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

Commit

Permalink
update to v1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jjw24 committed Dec 31, 2020
1 parent 6a270da commit 3e9304d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Wox.Core/Updater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Updater
{
public string GitHubRepository { get; }

private readonly string flowLauncherFilename = "Flow-Launcher-v1.5.0";
private readonly string flowLauncherFilename = "Flow-Launcher-v1.6.0";

public Updater(string gitHubRepository)
{
Expand Down Expand Up @@ -50,12 +50,12 @@ public async Task UpdateApp(bool silentIfLatestVersion = true)

if (!FilesFolders.FileExits(Path.Combine(Constant.ApplicationDirectory, flowLauncherFilename + ".exe")))
{
Http.Download("https://github.com/Flow-Launcher/Flow.Launcher/releases/download/v1.5.0/Flow-Launcher-v1.5.0.exe", Path.Combine(Constant.ApplicationDirectory, flowLauncherFilename + ".flow"));
Http.Download("https://github.com/Flow-Launcher/Flow.Launcher/releases/download/v1.6.0/Flow-Launcher-v1.6.0.exe", Path.Combine(Constant.ApplicationDirectory, flowLauncherFilename + ".flow"));

File.Move(Path.Combine(Constant.ApplicationDirectory, flowLauncherFilename + ".flow"), Path.Combine(Constant.ApplicationDirectory, flowLauncherFilename + ".exe"));
}

var msg = "Successfully downloaded Flow Launcher v1.5.0." +
var msg = "Successfully downloaded Flow Launcher v1.6.0." +
Environment.NewLine + Environment.NewLine +
"Would you like to restart Wox to finish the upgrade? (Upgrade will also complete on the next restart)";

Expand Down

0 comments on commit 3e9304d

Please sign in to comment.