Skip to content

Commit

Permalink
Merge pull request WowDevTools#87 from WowDevTools/bugfix/listfile
Browse files Browse the repository at this point in the history
Download listfile in application base dir
  • Loading branch information
Luzifix authored May 25, 2019
2 parents 939598d + c506b79 commit 561db43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WDBXEditor/Common/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,7 @@ public static string BuildText(int build)

private static async Task LoadListFile()
{
string listfile = "listfile.txt";
string listfile = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "listfile.txt");

if (!File.Exists(listfile) || (DateTime.Now - File.GetLastWriteTime(listfile)).TotalHours > 24)
{
Expand Down

0 comments on commit 561db43

Please sign in to comment.