Removed DSH dependency.
This commit is contained in:
parent
e735000c9a
commit
499df02472
1
dub.json
1
dub.json
|
@ -4,7 +4,6 @@
|
||||||
],
|
],
|
||||||
"copyright": "Copyright © 2022, Andrew Lalis",
|
"copyright": "Copyright © 2022, Andrew Lalis",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dsh": "~>1.6.1",
|
|
||||||
"filesizes": "~>1.1.0",
|
"filesizes": "~>1.1.0",
|
||||||
"progress": "~>5.0.2"
|
"progress": "~>5.0.2"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
"fileVersion": 1,
|
"fileVersion": 1,
|
||||||
"versions": {
|
"versions": {
|
||||||
"dsh": "1.6.1",
|
|
||||||
"filesizes": "1.1.0",
|
"filesizes": "1.1.0",
|
||||||
"progress": "5.0.2"
|
"progress": "5.0.2"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import dsh;
|
|
||||||
import std.typecons;
|
import std.typecons;
|
||||||
import std.path;
|
import std.path;
|
||||||
|
import std.file;
|
||||||
|
import std.stdio;
|
||||||
import std.string;
|
import std.string;
|
||||||
import std.algorithm;
|
import std.algorithm;
|
||||||
import std.getopt;
|
import std.getopt;
|
||||||
|
@ -55,7 +56,7 @@ int main(string[] args) {
|
||||||
|
|
||||||
auto nullableGoProDir = getGoProDir(mediaSearchDir);
|
auto nullableGoProDir = getGoProDir(mediaSearchDir);
|
||||||
if (nullableGoProDir.isNull) {
|
if (nullableGoProDir.isNull) {
|
||||||
error("Couldn't find GoPro directory.");
|
writeln("Couldn't find GoPro directory.");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
string goProDir = nullableGoProDir.get();
|
string goProDir = nullableGoProDir.get();
|
||||||
|
|
Loading…
Reference in New Issue