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

Commit

Permalink
Clean up imports
Browse files Browse the repository at this point in the history
  • Loading branch information
spikespaz committed Oct 30, 2018
1 parent 9883222 commit b778a09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 1 addition & 7 deletions source/common.d
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
module common;

import core.sys.windows.windows: CommandLineToArgvW, MessageBox, MB_ICONERROR, MB_YESNO, IDYES;
import std.string: split, toStringz, strip, splitLines, indexOf, stripLeft;
import std.windows.registry: Registry, RegistryException, Key, REGSAM;
import std.datetime: SysTime, DateTime;
import std.json: JSONValue, parseJSON;
import std.string: strip, splitLines, indexOf, stripLeft;
import std.uri: encodeComponent;
import std.range: zip, popFront;
import std.algorithm: sort;
import std.process: browse;
import std.format: format;
import std.net.curl: get;
import std.utf: toUTF16z;
import std.conv: to;

/// File name of the executable to download and run to install an update.
Expand Down
3 changes: 2 additions & 1 deletion source/setup.d
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ import std.socket: SocketException, getAddress;
import std.regex: Regex, regex, matchFirst;
import std.stdio: write, writeln, readln;
import std.conv: ConvException, parse;
import std.range: array, enumerate;
import std.path: isValidFilename;
import std.file: exists, isFile;
import std.range: enumerate;
import std.algorithm: sort;
import std.utf: toUTF16z;
import std.range: array;

void main() {
writeln("Version: " ~ PROJECT_VERSION);
Expand Down

0 comments on commit b778a09

Please sign in to comment.