Skip to content
This repository has been archived by the owner on Apr 3, 2022. It is now read-only.

Commit

Permalink
Set update interval to 1 day
Browse files Browse the repository at this point in the history
  • Loading branch information
spikespaz committed Aug 24, 2018
1 parent 81f3974 commit bf1e861
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion source/launcher.d
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ extern (Windows) int WinMain() {
null, Config.suppressConsole | Config.detached);
// dfmt on

if (shouldCheckUpdate(days(0))) {
if (shouldCheckUpdate(days(1))) {
string[string] updateInfo = getUpdateInfo(VERSION.split('-')[0]);

if (updateInfo)
Expand Down
3 changes: 0 additions & 3 deletions source/updater.d
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ void update(const string downloadUrl, const string updateVer) {
const string installDir = buildPath(thisExePath().dirName(), "..", updateVer);
const string archivePath = buildPath(tempDir, "update.zip");

writeln(installDir);
writeln(archivePath);

if (!exists(installDir))
mkdirRecurse(installDir);

Expand Down

0 comments on commit bf1e861

Please sign in to comment.